Skip to content

Question: Possibility to export permissions with OpenAPI schema #324

@unode

Description

@unode

Hi @eadwinCode,

I'm trying to find an automated way to export all the permissions used by the project on a more human readable format.
Django Ninja provides manage.py export_openapi_schema and I see that authentication (JWTAuth) is currently exported but permissions aren't.

Is there any way this could be supported or otherwise exported?

The OpenAPI spec doesn't have an explicit field but recommends using x- fields for such needs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions