To access the REST services listing swagger resource without having to enter the JWT beforehand, the jwtSwaggerURI property needs to be set with the aforementioned resource URI.
Example:
If the listing resource access URL is: http://my.domain.com/<RootContext>/<CxfServlet>/api-docs?url=/<RootContext>/<CxfServlet>/openapi.json, the URI to enter for the jwtSwaggerURI property is: /<CxfServlet>/api-docs;/<CxfServlet>/swagger*;/<CxfServlet>/openapi*
(for example: /ws/api-docs;/ws/swagger*;/ws/openapi*)
The swagger-ui [jwt_key] field may contain a JWT so that an Authorization header can be added to all the requests sent to the resource server.
Example: Entering the following string into the swagger-ui field [jwt_key]: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJoYXJkaXMiLCJpc3MiOiJKV1RQcm92aWRlciIsImlhdCI6MTQ2Mz adds the following HTTP header to all requests sent to the resource server: Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJoYXJkaXMiLCJpc3MiOiJKV1RQcm92aWRlciIsImlhd |