Skip to content

Swagger-UI Property "persistAuthorization" is missing  #938

Closed
@constantine008

Description

@constantine008

We are migrating from Springfox to Springdoc, which worked very well. We expect preserve authorization on browser refresh and close/reopen. swagger-ui fixed it on Swagger UI v3.34.0 . But this can't be set currently via springdoc-properties.

https://github.com/swagger-api/swagger-ui/commit/96aecc8860a906d2d185bcbba60fae61ca847fdc
https://github.com/swagger-api/swagger-ui/pull/5939
Swagger UI v3.34.0

What we expect:

it is possible to define the swagger-ui property persistAuthorization, e.g. by defining the spring-boot property springdoc.swagger-ui.persistAuthorization

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions