- 
                Notifications
    You must be signed in to change notification settings 
- Fork 234
Open
Description
The bundled Swagger UI does not give an option to authorize requests. Usually, Swagger presents an Authorize button when any request is sequred (as shown in the screenshot below).
When I use Elide Spring Boot starter, and I secure my endpoints, the Swagger UI doesn't present any option to add JWT token.
I've also tried adding the 'Authorization' header for every path as follows:
HeaderParameter oauthParam = new HeaderParameter()
                .name("Authorization")
                .type("string")
                .description("OAuth bearer token")
                .required(true);
        SwaggerBuilder builder = new SwaggerBuilder(dictionary, info)
                .withGlobalParameter(oauthParam);
        return builder.build()
                .basePath(settings.getJsonApi().getPath());Nothing works.
Metadata
Metadata
Assignees
Labels
No labels
