Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 3bc5928

Browse files
committed
Adds readme links to nonexistent component security scheme docs
1 parent 46a9b56 commit 3bc5928

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

samples/client/petstore/java/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,15 @@ allowed input and output types.
298298
| [Mammal.Mammal1](docs/components/schemas/Mammal.md#mammal1) | |
299299
| [Whale.Whale1](docs/components/schemas/Whale.md#whale1) | |
300300
| [Zebra.Zebra1](docs/components/schemas/Zebra.md#zebra1) | |
301+
302+
## Component SecuritySchemes
303+
304+
| Class | Description |
305+
| ----- | ----------- |
306+
| [ApiKey](docs/components/securitysschemes/ApiKey.md) | apiKey in header |
307+
| [ApiKeyQuery](docs/components/securitysschemes/ApiKeyQuery.md) | apiKey in query |
308+
| [BearerTest](docs/components/securitysschemes/BearerTest.md) | http bearer with JWT bearer format |
309+
| [HttpBasicTest](docs/components/securitysschemes/HttpBasicTest.md) | http basic |
310+
| [HttpSignatureTest](docs/components/securitysschemes/HttpSignatureTest.md) | http + signature |
311+
| [OpenIdConnectTest](docs/components/securitysschemes/OpenIdConnectTest.md) | openIdConnect |
312+
| [PetstoreAuth](docs/components/securitysschemes/PetstoreAuth.md) | oauth2 implicit flow with two scopes |

src/main/resources/java/README.hbs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,18 @@ allowed input and output types.
173173
{{/with}}
174174
{{/each}}
175175
{{/if}}
176+
{{#if securitySchemes}}
177+
178+
## Component SecuritySchemes
179+
180+
| Class | Description |
181+
| ----- | ----------- |
182+
{{#each securitySchemes}}
183+
{{#with this}}
184+
| [{{jsonPathPiece.pascalCase}}](docs/components/securitysschemes/{{jsonPathPiece.snakeCase}}.md) |{{#if description}} {{description.originalWithBr}}{{/if}} |
185+
{{/with}}
186+
{{/each}}
187+
{{/if}}
176188
{{#if infoEmail}}
177189

178190
## Author

0 commit comments

Comments
 (0)