-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Make the "latest" schema accessible programmatically #4152
Comments
another alternative would be to push it to a code repo like npm that handle this kind of versionning policy |
From a user perspective, i would expect to be able to access the latest schema for a specific OpenAPI version so i can validate an OpenAPI specification document from it. E.g. :
NPM targets only Javascript ecopsystems: what about rust/golang/c++/... ? Having an OpenAPI documented API which describes all operations available at specs.openapis.org would also be a must-have. Hope it helps. |
Hi, If you use a symbolic link in the GH-pages branch (say from Currently my tooling just checks out the GH-pages branch once a week and compares what I have to what is there to find updates. Every now and then I need to tune the mechanism a bit to accomodate for slight changes in the branch structure. For me it would be brilliant if:
Even better would indeed be an NPM/Python/Go package, but I can see that this could become messy for the OAI project. So you could argue that packaging it up should be left to the community of the specific language. Alternatively there's sites like: https://www.schemastore.org/ which just publish the schema. Hope this helps! Kind regards, |
We don't want schema URIs with
latest
in place of the date because schema contents should not change unexpectedly. However, we need some way for folks to access the latest schemas, preferably without pulling all of the dates and sorting them.Unfortunately, GitHub pages does not support HTTP redirects (or setting media types independent of file extensions) so we need to figure out a workarond. Or move to Netlify or Cloudflare Pages or something else with actual proper HTTP support.
The text was updated successfully, but these errors were encountered: