forked from loafle/openapi-generator-original
[Powershell] fix security features listed in documentation (#15717)
This commit is contained in:
parent
65bee03e21
commit
a953eb750f
@ -249,12 +249,12 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|BasicAuth|✓|OAS2,OAS3
|
|BasicAuth|✓|OAS2,OAS3
|
||||||
|ApiKey|✓|OAS2,OAS3
|
|ApiKey|✓|OAS2,OAS3
|
||||||
|OpenIDConnect|✗|OAS3
|
|OpenIDConnect|✗|OAS3
|
||||||
|BearerToken|✗|OAS3
|
|BearerToken|✓|OAS3
|
||||||
|OAuth2_Implicit|✓|OAS2,OAS3
|
|OAuth2_Implicit|✗|OAS2,OAS3
|
||||||
|OAuth2_Password|✗|OAS2,OAS3
|
|OAuth2_Password|✗|OAS2,OAS3
|
||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✓|OAS3
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
@ -82,8 +82,9 @@ public class PowerShellClientCodegen extends DefaultCodegen implements CodegenCo
|
|||||||
.wireFormatFeatures(EnumSet.of(WireFormatFeature.JSON, WireFormatFeature.XML))
|
.wireFormatFeatures(EnumSet.of(WireFormatFeature.JSON, WireFormatFeature.XML))
|
||||||
.securityFeatures(EnumSet.of(
|
.securityFeatures(EnumSet.of(
|
||||||
SecurityFeature.BasicAuth,
|
SecurityFeature.BasicAuth,
|
||||||
|
SecurityFeature.BearerToken,
|
||||||
SecurityFeature.ApiKey,
|
SecurityFeature.ApiKey,
|
||||||
SecurityFeature.OAuth2_Implicit
|
SecurityFeature.SignatureAuth
|
||||||
))
|
))
|
||||||
.excludeGlobalFeatures(
|
.excludeGlobalFeatures(
|
||||||
GlobalFeature.XMLStructureDefinitions,
|
GlobalFeature.XMLStructureDefinitions,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user