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

Make the "latest" schema accessible programmatically #4152

Open
handrews opened this issue Oct 22, 2024 · 2 comments
Open

Make the "latest" schema accessible programmatically #4152

handrews opened this issue Oct 22, 2024 · 2 comments
Labels

Comments

@handrews
Copy link
Member

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.

@LasneF
Copy link
Member

LasneF commented Oct 24, 2024

another alternative would be to push it to a code repo like npm that handle this kind of versionning policy

@cboitel
Copy link

cboitel commented Jan 14, 2025

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. :

  1. open document, extract version
  2. download schema for version (/vX.Y.Z/schema)
  3. validate doc with downloaded schema

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants