OAI / OpenAPI-Specification

The OpenAPI Specification Repository
https://openapis.org
Apache License 2.0
29.05k stars 9.07k forks source link

Make the "latest" schema accessible programmatically #4152

Open handrews opened 3 weeks ago

handrews commented 3 weeks ago

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 commented 3 weeks ago

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