Commit 688287c
authored
Bring over structured Swift syntax from OpenAPI (#1722)
Motivation:
We’ll need to be able to represent code to generate as structured Swift types for the new Codegen library.
This is effectively what swift-syntax provides but we can’t (at time of writing) take it as a dependency
because of its unstable API. Swift OpenAPI Generator has already provided a number of these types as its StructuedSwiftRepresentation.
Modifications:
- Copied StructuredSwiftRepresentation.swift inside the Codegen library module
- Mentioned the usage in NOTICES.txt
Result:
Codegen library will have a representation of the code to generate as structured Swift types.1 parent 9bf9d28 commit 688287c
File tree
2 files changed
+1734
-0
lines changed- Sources/GRPCCodeGen/Internal
2 files changed
+1734
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
0 commit comments