Skip to content

Commit 915a476

Browse files
authored
Add missing ui.oauth.scopes, first copy documentation from swagger-ui documentation...
The implementation is here: https://github.com/springdoc/springdoc-openapi/blob/main/springdoc-openapi-starter-common/src/main/java/org/springdoc/core/properties/SwaggerUiOAuthProperties.java#L103
1 parent 92e7802 commit 915a476

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/docs/asciidoc/ui-properties.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
|springdoc.swagger-ui.oauth.realm | | `String`. realm query parameter (for OAuth 1) added to authorizationUrl and tokenUrl.
3737
|springdoc.swagger-ui.oauth.appName | | `String`. OAuth application name, displayed in authorization popup.
3838
|springdoc.swagger-ui.oauth.scopeSeparator | | `String`. OAuth scope separator for passing scopes, encoded before calling, default value is a space (encoded value %20).
39+
|springdoc.swagger-ui.oauth.scopes | | string array or scope separator (i.e. space) separated string of initially selected oauth scopes, default is empty array
3940
|springdoc.swagger-ui.csrf.enabled | `false` | `Boolean`. To enable CSRF support
4041
|springdoc.swagger-ui.csrf.use-local-storage | `false` | `Boolean`. To get the CSRF token from the Local Storage.
4142
|springdoc.swagger-ui.csrf.use-session-storage | `false` | `Boolean`. To get the CSRF token from the Session Storage.

0 commit comments

Comments
 (0)