Skip to content

[RFC] Ability to disable entrypoint /api/docs #1568

Closed
@Nek-

Description

@Nek-

Problem

  • I don't want the documentation on /api/docs in production environment
  • I don't want either the documentation endpoint to transform into api entry point

Partial solution

  1. If I don't want documentation on the api entry point, then I should disable format HTML in production environment (cool)
  2. The documentation is replaced by jsonld list of accessible endpoints

I don't want that.

Final suggestion of fix

Add a new option that definitely disable this page and replace it by a 404 error.

Please tell me what do you think about and I can handle the PR about.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions