Skip to content

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

Description

@ZhuchkaTriplesix

Context

  • When include_openapi is false, GET /openapi.json can fall through; users may get 404 on a normal route or miss OpenAPI. Behavior should be exact and tested.

Work

  • Document the interaction between include_openapi, set_openapi_served, and registration order in docs/openapi.md. Add a pytest for include_openapi=False.

Acceptance criteria

  • Documentation updated; pytest covers disabled OpenAPI.

Activity

  1. added this to the v0.2.0 milestone on Apr 26, 2026
  2. added a commit that references this issue on Apr 26, 2026
  3. added a commit that references this issue on Apr 26, 2026
  4. linked a pull request that will close this issueDev #45on Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationtest

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions