gpitteloud opened a new pull request, #2724:
URL: https://github.com/apache/cxf/pull/2724

   - New SwaggerOAuth2Config data class with all properties defined on 
https://swagger.io/docs/open-source-tools/swagger-ui/usage/oauth2/
   - Existing SwaggerUiConfig contains a new field of type SwaggerOAuth2Config, 
so that OAuth2 can be configured while creating the OpenApiFeature
   - While serving swagger-initializer.js resource, the existing 
SwaggerUiService reads that config and injects the SwaggerOAuth2Config as json 
into a new initOAuth() method before rendering the js resource. This is similar 
to the existing behavior for injecting the URL in case queryConfigEnabled is 
false.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to