Skip to content

docs+test: OpenAPI serving toggle and re-enable (issue #16) - #38

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue-16-openapi-docs-reenable
Apr 26, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue-16-openapi-docs-reenable

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Closes #16

  • Expand docs/openapi.md: one flag (constructor + set_openapi_served), route registration order, re-enable with set_openapi_served(True) after include_openapi=False, built-in /openapi.json vs user route.
  • test_include_openapi_false_reenabled_with_set_openapi_served_get_200 covers the re-enable path.

- Document same flag for constructor and set_openapi_served, registration order,
  re-enable after include_openapi=False, built-in shadowing of /openapi.json
- Add ASGI test: set_openapi_served(True) after constructor False serves spec

@ZhuchkaTriplesix ZhuchkaTriplesix left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

123

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 854fb83 into dev Apr 26, 2026
16 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue-16-openapi-docs-reenable branch April 26, 2026 19:41
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.

docs+test: clarify include_openapi vs set_openapi_served and 404 for /openapi.json

1 participant