Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes OpenAPI spec compatibility #129

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

curiousleo
Copy link

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.

Fixes nytimes#128 and nytimes#82.

Changes:
- Ignore $ref declarations that are not strings (dubious)
- Allow builtins as RPC return types
- Update Kubernetes proto fixture (dubious)
@curiousleo
Copy link
Author

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.

@curiousleo
Copy link
Author

Feedback welcome. Ping @jprobinson @lestrrat (you commented on #82 and seem to have some context on this).

@curiousleo
Copy link
Author

@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?

@JustinFullerNYT
Copy link

@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!

@tmc
Copy link

tmc commented Apr 18, 2022

@curiousleo / @JustinFullerNYT can we resurrect this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants