Skip to content

Commit

Permalink
Update to Swagger UI v5.17.14
Browse files Browse the repository at this point in the history
  • Loading branch information
RicoSuter committed Jun 12, 2024
1 parent 6b49eef commit 9d67c72
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 26 deletions.
12 changes: 4 additions & 8 deletions src/NSwag.AspNet.Owin/SwaggerUi/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,17 @@
});

if ("{ClientId}") {
const oAuthConfig = {
var clientSecret = "{ClientSecret}";
ui.initOAuth({
clientId: "{ClientId}",
clientSecret: clientSecret ? clientSecret : undefined,
realm: "{Realm}",
appName: "{AppName}",
scopeSeparator: "{ScopeSeparator}",
scopes: {Scopes},
additionalQueryStringParams: {AdditionalQueryStringParameters},
usePkceWithAuthorizationCodeGrant: {UsePkceWithAuthorizationCodeGrant}
};

if (!{UsePkceWithAuthorizationCodeGrant}) {
oAuthConfig.clientSecret = "{ClientSecret}";
}

ui.initOAuth(oAuthConfig);
});
}

window.ui = ui;
Expand Down
3 changes: 1 addition & 2 deletions src/NSwag.AspNet.Owin/SwaggerUi/swagger-ui-bundle.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/NSwag.AspNet.Owin/SwaggerUi/swagger-ui-es-bundle.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNet.Owin/SwaggerUi/swagger-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNet.Owin/SwaggerUi/swagger-ui.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/NSwag.AspNetCore/SwaggerUi/swagger-ui-bundle.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/NSwag.AspNetCore/SwaggerUi/swagger-ui-es-bundle.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNetCore/SwaggerUi/swagger-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwag.AspNetCore/SwaggerUi/swagger-ui.js

Large diffs are not rendered by default.

0 comments on commit 9d67c72

Please sign in to comment.