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

OpenAPI: add pagination and make feed valid #42

Merged
merged 2 commits into from
Jun 21, 2022
Merged

Conversation

dragon-dxw
Copy link
Collaborator

@dragon-dxw dragon-dxw commented Jun 20, 2022

Trello Ticket

We used an optional path string in the OpenAPI spec but they don't actually exist.

Optional path strings are not a part of the OpenAPI spec but
have been a long-running request.

OAI/OpenAPI-Specification#93

So we tell a small fib in the spec and say these paths are required,
(because they have to be required in the spec) but then
have a comment pointing out that /atom.xml etc are valid paths.

Additionally we add some scripts to install an OpenAPI validator
and to validate the two YAML documents. There is documentation
for doing this with pre-commit
but I couldn't get that to work.

Optional path strings are not a part of the OpenAPI spec but
have been a long-running request.

OAI/OpenAPI-Specification#93

So we tell a small fib in the spec and say these paths are required,
(because they *have* to be required in the spec) but then
have a comment pointing out that /atom.xml etc are valid paths.

Additionally we add some scripts to install an OpenAPI validator
and to validate the two YAML documents. There is documentation
for doing this with pre-commit but I couldn't get that to work.
Also bumped version number, because this is a meaningful backwards
compatible difference to the public description of the feed.
@dragon-dxw
Copy link
Collaborator Author

@dragon-dxw dragon-dxw requested a review from Floppy June 20, 2022 13:08
@Floppy Floppy merged commit a899d2e into main Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants