Bug Report Checklist
Description
oauth files not generated for java native http client
openapi-generator version
5.0.1
OpenAPI declaration file content or url
components:
securitySchemes:
bpay_auth:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://sandbox.api.bpaygroup.com.au/oauth/token
scopes:
read:validate-payment: BPAY payment validation API
(for YAML code) or
# native http client supported in java 11
generatorName: java
outputDir: samples/client/bpay/java/native
library: native
additionalProperties:
artifactId: bpay
hideGenerationTimestamp: "true"
dateLibrary: "java8"
httpUserAgent: "Shane-Bpay-Java/1.0.0"
modelPackage: "com.shane.bpay.models"
apiPackage: "com.shane.bpay.api"
groupId: "com.shane"
Generation Details
$SWAGGER_CMD generate \
--input-spec "./bpay-oas.yaml" \
-g "$1" \
--config "./swagger-config/config-$1.yaml"
Steps to reproduce
If i change to another client like the default, then i see the oauth files
Related issues/PRs
#6284
Suggest a fix
Bug Report Checklist
Description
oauth files not generated for java native http client
openapi-generator version
5.0.1
OpenAPI declaration file content or url
(for YAML code) or
Generation Details
Steps to reproduce
If i change to another client like the default, then i see the oauth files
Related issues/PRs
#6284
Suggest a fix