Skip to content

docs: carry the worked response examples into the spec - #7

Merged
qasimleoo merged 1 commit into
mainfrom
docs/port-response-examples
Nov 17, 2026
Merged

qasimleoo merged 1 commit into
mainfrom
docs/port-response-examples

Conversation

@qasimleoo

Copy link
Copy Markdown
Collaborator

The lookup-only file the site used to serve carried a full example on every success response; this file had almost none, so anyone importing it into Postman or rendering a reference got schemas with nothing in them.

Copies the 200 example for all 19 shared operations and the request body example for the four bulk endpoints, taken from that file unchanged. Nothing else moves: the generated docs come out byte for byte the same, because gen_docs.py reads parameter and body examples, not response ones.

Spectral still reports 0 errors and the one pre-existing unused-schema warning.

The lookup-only file the site used to serve carried a full example on every
success response; this file had almost none, so anyone importing it into
Postman or rendering a reference got schemas with nothing in them.

Copies the 200 example for all 19 shared operations and the request body
example for the four bulk endpoints, taken from that file unchanged. Nothing
else moves: the generated docs come out byte for byte the same, because
gen_docs.py reads parameter and body examples, not response ones.

Spectral still reports 0 errors and the one pre-existing unused-schema
warning.
@qasimleoo
qasimleoo merged commit 37b4dfd into main Nov 17, 2026
1 check passed
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.

1 participant