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

Commit 06b89d2

Browse files
authored
Java, simplifies security (#408)
* Updates template sto use centralized securitySchemeInfo in apiConfiguration * Adds and uses getSecurityScheme * Updates securityinfo docs to show the securty map * Adds missing class's container class in docs * Adds docs for security requirement objects * Adds link from security requirement object doc to security scheme doc * Fixes links from security info classes to securityequirementObjects * Removes getSecurityBuilders * Samples regen
1 parent 37f8b0f commit 06b89d2

File tree

106 files changed

+1314
-1671
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+1314
-1671
lines changed

samples/client/petstore/java/.openapi-generator/FILES

+24
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ docs/paths/fake/delete/parameters/parameter3/Schema3.md
228228
docs/paths/fake/delete/parameters/parameter4/Schema4.md
229229
docs/paths/fake/delete/parameters/parameter5/Schema5.md
230230
docs/paths/fake/delete/responses/Code200Response.md
231+
docs/paths/fake/delete/security/FakeDeleteSecurityRequirementObject0.md
231232
docs/paths/fake/get/HeaderParameters.md
232233
docs/paths/fake/get/QueryParameters.md
233234
docs/paths/fake/get/RequestBody.md
@@ -252,6 +253,7 @@ docs/paths/fake/post/Responses.md
252253
docs/paths/fake/post/requestbody/content/applicationxwwwformurlencoded/ApplicationxwwwformurlencodedSchema.md
253254
docs/paths/fake/post/responses/Code200Response.md
254255
docs/paths/fake/post/responses/Code404Response.md
256+
docs/paths/fake/post/security/FakePostSecurityRequirementObject0.md
255257
docs/paths/fakeadditionalpropertieswitharrayofenums/Get.md
256258
docs/paths/fakeadditionalpropertieswitharrayofenums/get/RequestBody.md
257259
docs/paths/fakeadditionalpropertieswitharrayofenums/get/Responses.md
@@ -283,6 +285,7 @@ docs/paths/fakeclassnametest/patch/RequestBody.md
283285
docs/paths/fakeclassnametest/patch/Responses.md
284286
docs/paths/fakeclassnametest/patch/responses/Code200Response.md
285287
docs/paths/fakeclassnametest/patch/responses/code200response/content/applicationjson/ApplicationjsonSchema.md
288+
docs/paths/fakeclassnametest/patch/security/FakeclassnametestPatchSecurityRequirementObject0.md
286289
docs/paths/fakedeletecoffeeid/Delete.md
287290
docs/paths/fakedeletecoffeeid/delete/PathParameters.md
288291
docs/paths/fakedeletecoffeeid/delete/Responses.md
@@ -343,6 +346,9 @@ docs/paths/fakemultiplesecurities/get/FakemultiplesecuritiesGetSecurityInfo.md
343346
docs/paths/fakemultiplesecurities/get/Responses.md
344347
docs/paths/fakemultiplesecurities/get/responses/Code200Response.md
345348
docs/paths/fakemultiplesecurities/get/responses/code200response/content/applicationjson/ApplicationjsonSchema.md
349+
docs/paths/fakemultiplesecurities/get/security/FakemultiplesecuritiesGetSecurityRequirementObject0.md
350+
docs/paths/fakemultiplesecurities/get/security/FakemultiplesecuritiesGetSecurityRequirementObject1.md
351+
docs/paths/fakemultiplesecurities/get/security/FakemultiplesecuritiesGetSecurityRequirementObject2.md
346352
docs/paths/fakeobjinquery/Get.md
347353
docs/paths/fakeobjinquery/get/QueryParameters.md
348354
docs/paths/fakeobjinquery/get/Responses.md
@@ -392,6 +398,7 @@ docs/paths/fakepetiduploadimagewithrequiredfile/post/parameters/parameter0/Schem
392398
docs/paths/fakepetiduploadimagewithrequiredfile/post/requestbody/content/multipartformdata/MultipartformdataSchema.md
393399
docs/paths/fakepetiduploadimagewithrequiredfile/post/responses/Code200Response.md
394400
docs/paths/fakepetiduploadimagewithrequiredfile/post/responses/code200response/content/applicationjson/ApplicationjsonSchema.md
401+
docs/paths/fakepetiduploadimagewithrequiredfile/post/security/FakepetiduploadimagewithrequiredfilePostSecurityRequirementObject0.md
395402
docs/paths/fakequeryparamwithjsoncontenttype/Get.md
396403
docs/paths/fakequeryparamwithjsoncontenttype/get/QueryParameters.md
397404
docs/paths/fakequeryparamwithjsoncontenttype/get/Responses.md
@@ -518,12 +525,17 @@ docs/paths/pet/post/RequestBody.md
518525
docs/paths/pet/post/Responses.md
519526
docs/paths/pet/post/responses/Code200Response.md
520527
docs/paths/pet/post/responses/Code405Response.md
528+
docs/paths/pet/post/security/PetPostSecurityRequirementObject0.md
529+
docs/paths/pet/post/security/PetPostSecurityRequirementObject1.md
530+
docs/paths/pet/post/security/PetPostSecurityRequirementObject2.md
521531
docs/paths/pet/put/PetPutSecurityInfo.md
522532
docs/paths/pet/put/RequestBody.md
523533
docs/paths/pet/put/Responses.md
524534
docs/paths/pet/put/responses/Code400Response.md
525535
docs/paths/pet/put/responses/Code404Response.md
526536
docs/paths/pet/put/responses/Code405Response.md
537+
docs/paths/pet/put/security/PetPutSecurityRequirementObject0.md
538+
docs/paths/pet/put/security/PetPutSecurityRequirementObject1.md
527539
docs/paths/petfindbystatus/Get.md
528540
docs/paths/petfindbystatus/PetfindbystatusServerInfo.md
529541
docs/paths/petfindbystatus/get/PetfindbystatusGetSecurityInfo.md
@@ -532,13 +544,18 @@ docs/paths/petfindbystatus/get/Responses.md
532544
docs/paths/petfindbystatus/get/parameters/parameter0/Schema0.md
533545
docs/paths/petfindbystatus/get/responses/Code200Response.md
534546
docs/paths/petfindbystatus/get/responses/Code400Response.md
547+
docs/paths/petfindbystatus/get/security/PetfindbystatusGetSecurityRequirementObject0.md
548+
docs/paths/petfindbystatus/get/security/PetfindbystatusGetSecurityRequirementObject1.md
549+
docs/paths/petfindbystatus/get/security/PetfindbystatusGetSecurityRequirementObject2.md
535550
docs/paths/petfindbytags/Get.md
536551
docs/paths/petfindbytags/get/PetfindbytagsGetSecurityInfo.md
537552
docs/paths/petfindbytags/get/QueryParameters.md
538553
docs/paths/petfindbytags/get/Responses.md
539554
docs/paths/petfindbytags/get/parameters/parameter0/Schema0.md
540555
docs/paths/petfindbytags/get/responses/Code200Response.md
541556
docs/paths/petfindbytags/get/responses/Code400Response.md
557+
docs/paths/petfindbytags/get/security/PetfindbytagsGetSecurityRequirementObject0.md
558+
docs/paths/petfindbytags/get/security/PetfindbytagsGetSecurityRequirementObject1.md
542559
docs/paths/petpetid/Delete.md
543560
docs/paths/petpetid/Get.md
544561
docs/paths/petpetid/Post.md
@@ -549,6 +566,8 @@ docs/paths/petpetid/delete/Responses.md
549566
docs/paths/petpetid/delete/parameters/parameter0/Schema0.md
550567
docs/paths/petpetid/delete/parameters/parameter1/Schema1.md
551568
docs/paths/petpetid/delete/responses/Code400Response.md
569+
docs/paths/petpetid/delete/security/PetpetidDeleteSecurityRequirementObject0.md
570+
docs/paths/petpetid/delete/security/PetpetidDeleteSecurityRequirementObject1.md
552571
docs/paths/petpetid/get/PathParameters.md
553572
docs/paths/petpetid/get/PetpetidGetSecurityInfo.md
554573
docs/paths/petpetid/get/Responses.md
@@ -558,13 +577,16 @@ docs/paths/petpetid/get/responses/Code400Response.md
558577
docs/paths/petpetid/get/responses/Code404Response.md
559578
docs/paths/petpetid/get/responses/code200response/content/applicationjson/ApplicationjsonSchema.md
560579
docs/paths/petpetid/get/responses/code200response/content/applicationxml/ApplicationxmlSchema.md
580+
docs/paths/petpetid/get/security/PetpetidGetSecurityRequirementObject0.md
561581
docs/paths/petpetid/post/PathParameters.md
562582
docs/paths/petpetid/post/PetpetidPostSecurityInfo.md
563583
docs/paths/petpetid/post/RequestBody.md
564584
docs/paths/petpetid/post/Responses.md
565585
docs/paths/petpetid/post/parameters/parameter0/Schema0.md
566586
docs/paths/petpetid/post/requestbody/content/applicationxwwwformurlencoded/ApplicationxwwwformurlencodedSchema.md
567587
docs/paths/petpetid/post/responses/Code405Response.md
588+
docs/paths/petpetid/post/security/PetpetidPostSecurityRequirementObject0.md
589+
docs/paths/petpetid/post/security/PetpetidPostSecurityRequirementObject1.md
568590
docs/paths/petpetiduploadimage/Post.md
569591
docs/paths/petpetiduploadimage/post/PathParameters.md
570592
docs/paths/petpetiduploadimage/post/PetpetiduploadimagePostSecurityInfo.md
@@ -573,13 +595,15 @@ docs/paths/petpetiduploadimage/post/Responses.md
573595
docs/paths/petpetiduploadimage/post/parameters/parameter0/Schema0.md
574596
docs/paths/petpetiduploadimage/post/requestbody/content/multipartformdata/MultipartformdataSchema.md
575597
docs/paths/petpetiduploadimage/post/responses/Code200Response.md
598+
docs/paths/petpetiduploadimage/post/security/PetpetiduploadimagePostSecurityRequirementObject0.md
576599
docs/paths/solidus/Get.md
577600
docs/paths/solidus/get/Responses.md
578601
docs/paths/solidus/get/responses/Code200Response.md
579602
docs/paths/storeinventory/Get.md
580603
docs/paths/storeinventory/get/Responses.md
581604
docs/paths/storeinventory/get/StoreinventoryGetSecurityInfo.md
582605
docs/paths/storeinventory/get/responses/Code200Response.md
606+
docs/paths/storeinventory/get/security/StoreinventoryGetSecurityRequirementObject0.md
583607
docs/paths/storeorder/Post.md
584608
docs/paths/storeorder/post/RequestBody.md
585609
docs/paths/storeorder/post/Responses.md

samples/client/petstore/java/docs/paths/fake/delete/FakeDeleteSecurityInfo.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,33 @@ FakeDeleteSecurityInfo.java
44
public class FakeDeleteSecurityInfo
55

66
A class that provides a security requirement object, and any needed security info classes
7-
- an enum class that stores security index values
7+
- a class that stores a securityIndex and provides a SecurityRequirementsObject
8+
- an enum class that describes security index values
89

910
## Nested Class Summary
1011
| Modifier and Type | Class and Description |
1112
| ----------------- | --------------------- |
13+
| static class | [FakeDeleteSecurityInfo.FakeDeleteSecurityInfo1](#fakedeletesecurityinfo1)<br>SecurityRequirementObjectProvider
1214
| enum | [FakeDeleteSecurityInfo.SecurityIndex](#securityindex)<br>class that stores a security index |
1315

16+
## FakeDeleteSecurityInfo1
17+
implements SecurityRequirementObjectProvider<[SecurityIndex](#securityindex)>
18+
19+
### Constructor Summary
20+
| Constructor and Description |
21+
| --------------------------- |
22+
| FakeDeleteSecurityInfo1()<br>Creates an instance |
23+
24+
### Field Summary
25+
| Modifier and Type | Field and Description |
26+
| ----------------- | --------------------- |
27+
| EnumMap<SecurityIndex, SecurityRequirementObject> | securities = new EnumMap<>(Map.ofEntries(<br>&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<>(SecurityIndex.SECURITY_0, new [FakeDeleteSecurityRequirementObject0()](../../../paths/fake/delete/security/FakeDeleteSecurityRequirementObject0.md)<br>)); |
28+
29+
### Method Summary
30+
| Modifier and Type | Method and Description |
31+
| ----------------- | ---------------------- |
32+
| SecurityRequirementObject | getSecurityRequirementObject(@Nullable [SecurityIndex](#securityindex) securityIndex)<br>If null is input, then the instance's securityIndex will be used |
33+
1434
## SecurityIndex
1535
enum SecurityIndex<br>
1636

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# FakeDeleteSecurityRequirementObject0
2+
FakeDeleteSecurityRequirementObject0.java
3+
4+
public class FakeDeleteSecurityRequirementObject0
5+
extends SecurityRequirementObject
6+
7+
### Constructor Summary
8+
| Constructor and Description |
9+
| --------------------------- |
10+
| FakeDeleteSecurityRequirementObject0()<br>Creates an instance |
11+
12+
### Field Summary
13+
| Modifier and Type | Field and Description |
14+
| ----------------- | --------------------- |
15+
| Map<Class<? extends SecurityScheme>, List<String>> | securitySchemeToScopes = Map.ofEntries(&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<Class<? extends SecurityScheme>, List<String>>(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[BearerTest.class](../../../../components/securityschemes/BearerTest.md),&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List.of()&nbsp;&nbsp;&nbsp;&nbsp;)) |

samples/client/petstore/java/docs/paths/fake/post/FakePostSecurityInfo.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,33 @@ FakePostSecurityInfo.java
44
public class FakePostSecurityInfo
55

66
A class that provides a security requirement object, and any needed security info classes
7-
- an enum class that stores security index values
7+
- a class that stores a securityIndex and provides a SecurityRequirementsObject
8+
- an enum class that describes security index values
89

910
## Nested Class Summary
1011
| Modifier and Type | Class and Description |
1112
| ----------------- | --------------------- |
13+
| static class | [FakePostSecurityInfo.FakePostSecurityInfo1](#fakepostsecurityinfo1)<br>SecurityRequirementObjectProvider
1214
| enum | [FakePostSecurityInfo.SecurityIndex](#securityindex)<br>class that stores a security index |
1315

16+
## FakePostSecurityInfo1
17+
implements SecurityRequirementObjectProvider<[SecurityIndex](#securityindex)>
18+
19+
### Constructor Summary
20+
| Constructor and Description |
21+
| --------------------------- |
22+
| FakePostSecurityInfo1()<br>Creates an instance |
23+
24+
### Field Summary
25+
| Modifier and Type | Field and Description |
26+
| ----------------- | --------------------- |
27+
| EnumMap<SecurityIndex, SecurityRequirementObject> | securities = new EnumMap<>(Map.ofEntries(<br>&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<>(SecurityIndex.SECURITY_0, new [FakePostSecurityRequirementObject0()](../../../paths/fake/post/security/FakePostSecurityRequirementObject0.md)<br>)); |
28+
29+
### Method Summary
30+
| Modifier and Type | Method and Description |
31+
| ----------------- | ---------------------- |
32+
| SecurityRequirementObject | getSecurityRequirementObject(@Nullable [SecurityIndex](#securityindex) securityIndex)<br>If null is input, then the instance's securityIndex will be used |
33+
1434
## SecurityIndex
1535
enum SecurityIndex<br>
1636

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# FakePostSecurityRequirementObject0
2+
FakePostSecurityRequirementObject0.java
3+
4+
public class FakePostSecurityRequirementObject0
5+
extends SecurityRequirementObject
6+
7+
### Constructor Summary
8+
| Constructor and Description |
9+
| --------------------------- |
10+
| FakePostSecurityRequirementObject0()<br>Creates an instance |
11+
12+
### Field Summary
13+
| Modifier and Type | Field and Description |
14+
| ----------------- | --------------------- |
15+
| Map<Class<? extends SecurityScheme>, List<String>> | securitySchemeToScopes = Map.ofEntries(&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<Class<? extends SecurityScheme>, List<String>>(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[HttpBasicTest.class](../../../../components/securityschemes/HttpBasicTest.md),&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List.of()&nbsp;&nbsp;&nbsp;&nbsp;)) |

samples/client/petstore/java/docs/paths/fakeclassnametest/patch/FakeclassnametestPatchSecurityInfo.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,33 @@ FakeclassnametestPatchSecurityInfo.java
44
public class FakeclassnametestPatchSecurityInfo
55

66
A class that provides a security requirement object, and any needed security info classes
7-
- an enum class that stores security index values
7+
- a class that stores a securityIndex and provides a SecurityRequirementsObject
8+
- an enum class that describes security index values
89

910
## Nested Class Summary
1011
| Modifier and Type | Class and Description |
1112
| ----------------- | --------------------- |
13+
| static class | [FakeclassnametestPatchSecurityInfo.FakeclassnametestPatchSecurityInfo1](#fakeclassnametestpatchsecurityinfo1)<br>SecurityRequirementObjectProvider
1214
| enum | [FakeclassnametestPatchSecurityInfo.SecurityIndex](#securityindex)<br>class that stores a security index |
1315

16+
## FakeclassnametestPatchSecurityInfo1
17+
implements SecurityRequirementObjectProvider<[SecurityIndex](#securityindex)>
18+
19+
### Constructor Summary
20+
| Constructor and Description |
21+
| --------------------------- |
22+
| FakeclassnametestPatchSecurityInfo1()<br>Creates an instance |
23+
24+
### Field Summary
25+
| Modifier and Type | Field and Description |
26+
| ----------------- | --------------------- |
27+
| EnumMap<SecurityIndex, SecurityRequirementObject> | securities = new EnumMap<>(Map.ofEntries(<br>&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<>(SecurityIndex.SECURITY_0, new [FakeclassnametestPatchSecurityRequirementObject0()](../../../paths/fakeclassnametest/patch/security/FakeclassnametestPatchSecurityRequirementObject0.md)<br>)); |
28+
29+
### Method Summary
30+
| Modifier and Type | Method and Description |
31+
| ----------------- | ---------------------- |
32+
| SecurityRequirementObject | getSecurityRequirementObject(@Nullable [SecurityIndex](#securityindex) securityIndex)<br>If null is input, then the instance's securityIndex will be used |
33+
1434
## SecurityIndex
1535
enum SecurityIndex<br>
1636

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# FakeclassnametestPatchSecurityRequirementObject0
2+
FakeclassnametestPatchSecurityRequirementObject0.java
3+
4+
public class FakeclassnametestPatchSecurityRequirementObject0
5+
extends SecurityRequirementObject
6+
7+
### Constructor Summary
8+
| Constructor and Description |
9+
| --------------------------- |
10+
| FakeclassnametestPatchSecurityRequirementObject0()<br>Creates an instance |
11+
12+
### Field Summary
13+
| Modifier and Type | Field and Description |
14+
| ----------------- | --------------------- |
15+
| Map<Class<? extends SecurityScheme>, List<String>> | securitySchemeToScopes = Map.ofEntries(&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<Class<? extends SecurityScheme>, List<String>>(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ApiKeyQuery.class](../../../../components/securityschemes/ApiKeyQuery.md),&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List.of()&nbsp;&nbsp;&nbsp;&nbsp;)) |

samples/client/petstore/java/docs/paths/fakemultiplesecurities/get/FakemultiplesecuritiesGetSecurityInfo.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,33 @@ FakemultiplesecuritiesGetSecurityInfo.java
44
public class FakemultiplesecuritiesGetSecurityInfo
55

66
A class that provides a security requirement object, and any needed security info classes
7-
- an enum class that stores security index values
7+
- a class that stores a securityIndex and provides a SecurityRequirementsObject
8+
- an enum class that describes security index values
89

910
## Nested Class Summary
1011
| Modifier and Type | Class and Description |
1112
| ----------------- | --------------------- |
13+
| static class | [FakemultiplesecuritiesGetSecurityInfo.FakemultiplesecuritiesGetSecurityInfo1](#fakemultiplesecuritiesgetsecurityinfo1)<br>SecurityRequirementObjectProvider
1214
| enum | [FakemultiplesecuritiesGetSecurityInfo.SecurityIndex](#securityindex)<br>class that stores a security index |
1315

16+
## FakemultiplesecuritiesGetSecurityInfo1
17+
implements SecurityRequirementObjectProvider<[SecurityIndex](#securityindex)>
18+
19+
### Constructor Summary
20+
| Constructor and Description |
21+
| --------------------------- |
22+
| FakemultiplesecuritiesGetSecurityInfo1()<br>Creates an instance |
23+
24+
### Field Summary
25+
| Modifier and Type | Field and Description |
26+
| ----------------- | --------------------- |
27+
| EnumMap<SecurityIndex, SecurityRequirementObject> | securities = new EnumMap<>(Map.ofEntries(<br>&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<>(SecurityIndex.SECURITY_0, new [FakemultiplesecuritiesGetSecurityRequirementObject0()](../../../paths/fakemultiplesecurities/get/security/FakemultiplesecuritiesGetSecurityRequirementObject0.md),<br>&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<>(SecurityIndex.SECURITY_1, new [FakemultiplesecuritiesGetSecurityRequirementObject1()](../../../paths/fakemultiplesecurities/get/security/FakemultiplesecuritiesGetSecurityRequirementObject1.md),<br>&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<>(SecurityIndex.SECURITY_2, new [FakemultiplesecuritiesGetSecurityRequirementObject2()](../../../paths/fakemultiplesecurities/get/security/FakemultiplesecuritiesGetSecurityRequirementObject2.md)<br>)); |
28+
29+
### Method Summary
30+
| Modifier and Type | Method and Description |
31+
| ----------------- | ---------------------- |
32+
| SecurityRequirementObject | getSecurityRequirementObject(@Nullable [SecurityIndex](#securityindex) securityIndex)<br>If null is input, then the instance's securityIndex will be used |
33+
1434
## SecurityIndex
1535
enum SecurityIndex<br>
1636

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# FakemultiplesecuritiesGetSecurityRequirementObject0
2+
FakemultiplesecuritiesGetSecurityRequirementObject0.java
3+
4+
public class FakemultiplesecuritiesGetSecurityRequirementObject0
5+
extends EmptySecurityRequirementObject
6+
7+
### Constructor Summary
8+
| Constructor and Description |
9+
| --------------------------- |
10+
| FakemultiplesecuritiesGetSecurityRequirementObject0()<br>Creates an instance |
11+
12+
### Field Summary
13+
| Modifier and Type | Field and Description |
14+
| ----------------- | --------------------- |
15+
| Map<Class<? extends SecurityScheme>, List<String>> | securitySchemeToScopes = Map.ofEntries() |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# FakemultiplesecuritiesGetSecurityRequirementObject1
2+
FakemultiplesecuritiesGetSecurityRequirementObject1.java
3+
4+
public class FakemultiplesecuritiesGetSecurityRequirementObject1
5+
extends SecurityRequirementObject
6+
7+
### Constructor Summary
8+
| Constructor and Description |
9+
| --------------------------- |
10+
| FakemultiplesecuritiesGetSecurityRequirementObject1()<br>Creates an instance |
11+
12+
### Field Summary
13+
| Modifier and Type | Field and Description |
14+
| ----------------- | --------------------- |
15+
| Map<Class<? extends SecurityScheme>, List<String>> | securitySchemeToScopes = Map.ofEntries(&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<Class<? extends SecurityScheme>, List<String>>(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[HttpBasicTest.class](../../../../components/securityschemes/HttpBasicTest.md),&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List.of()&nbsp;&nbsp;&nbsp;&nbsp;),&nbsp;&nbsp;&nbsp;&nbsp;new AbstractMap.SimpleEntry<Class<? extends SecurityScheme>, List<String>>(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[ApiKey.class](../../../../components/securityschemes/ApiKey.md),&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List.of()&nbsp;&nbsp;&nbsp;&nbsp;)) |

0 commit comments

Comments
 (0)