openapi2proto
openapi2proto copied to clipboard
Kubernetes OpenAPI spec compatibility
Fixes #128 and #82.
Changes to make the Kubernetes fixture pass:
- Ignore $ref declarations that are not strings
- Allow primitive RPC return types
- Update Kubernetes proto fixture
Additional changes:
- Allow primitive RPC request types, for symmetry with the return type change
I'm mostly feeling my way around at this point. I haven't tested the changes other than running go test
.
I don't really understand how kubernetes.proto
was generated given that openapi2proto
previously failed on kubernetes.json
. So I'm not sure how valid it is to update kubernetes.proto
here.
Feedback welcome. Ping @jprobinson @lestrrat (you commented on #82 and seem to have some context on this).
@jprobinson and @lestrrat seem to have moved on from NYT.
@JustinFullerNYT, do you have enough context on this project to provide feedback on this draft PR?
@jprobinson and @lestrrat seem to have moved on from NYT.
@JustinFullerNYT, do you have enough context on this project to provide feedback on this draft PR?
I can take a look and recruit some others to look as well!
@curiousleo / @JustinFullerNYT can we resurrect this?