-
Notifications
You must be signed in to change notification settings - Fork 38
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
Bump to OpenAPI 3.0 #43
Comments
The changes don't seem to be too huge. The biggest benefit would probably be that we could correctly specify an arbitrary number of files to upload for For me, the biggest drawback is that there seems to be less tooling for openapi 3. For example, AWS API Gateway doesn't appear to work with it. |
Same here, we've been poking around at OpenAPI 3, but swagger-codegen is almost but not quite ready for compatibility. https://github.com/swagger-api/swagger-codegen#compatibility |
See (and track) ga4gh/data-repository-service-schemas#230 |
@denis-yuen See ga4gh/data-repository-service-schemas#230 (comment), hope that helps, it worked for me with htsget and Rust:
(After |
Thanks, @brainstorm! I'll check that out. @wshands— can you provide some detail for the code-gen client failures you've observed for OpenAPI 2.0 and 3.0? |
The error I saw was that contents of the files in the workflow attachment are not included in a POST request and seems to occur in both the Swagger and OpenApi code generators. I submitted these two issues: |
@brainstorm thanks for the tip, in a different issue much later we found that swagger-codegen 3.0.4 also works ga4gh/data-repository-service-schemas#230 (comment) |
Closing this as it looks like our API spec is currently on v 3.0 |
With major substantive and structural changes happening to the spec en route to v1.0, I wonder if now would also be the best time to bite the bullet and convert to the latest OpenAPI spec. Not sure how much work would be involved, or whether the change would have any major impact on service/client implementors.
The text was updated successfully, but these errors were encountered: