forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insert missing quote in clientPropertiesConfiguration.mustache for th…
…e Spring generator (OpenAPITools#18172) * OpenAPITools#18090 Insert missing quote: `{{{tokenUrl}}}"` -> `"{{{tokenUrl}}}"` * OpenAPITools#18058 Added test unit * OpenAPITools#18058 Stop unit test from generating unnecessary APIs * fix test --------- Co-authored-by: Flemming Nørnberg Larsen <[email protected]>
- Loading branch information
Showing
3 changed files
with
71 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
modules/openapi-generator/src/test/resources/3_0/issue_18090.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
openapi: "3.0.3" | ||
info: | ||
title: Test for OAuth2 provider | ||
version: 1.0.0 | ||
|
||
security: | ||
- OAuth2: | ||
- openid | ||
- profile | ||
|
||
paths: | ||
/some/endpoint: | ||
get: | ||
responses: | ||
"200": | ||
description: OK | ||
|
||
components: | ||
securitySchemes: | ||
OAuth2: | ||
type: oauth2 | ||
x-tokenName: id_token | ||
flows: | ||
authorizationCode: | ||
authorizationUrl: "${authorizationUrl}" | ||
tokenUrl: "${tokenUrl}" | ||
scopes: | ||
openid: Access OpenId Connect info | ||
profile: Profile info |