|
|
|
@ -9,6 +9,7 @@
|
|
|
|
|
jobs:
|
|
|
|
|
- job: GenerateApiClients
|
|
|
|
|
displayName: 'Generate Api Clients'
|
|
|
|
|
dependsOn: Test
|
|
|
|
|
|
|
|
|
|
pool:
|
|
|
|
|
vmImage: "${{ parameters.LinuxImage }}"
|
|
|
|
@ -21,12 +22,11 @@ jobs:
|
|
|
|
|
artifact: "OpenAPI Spec"
|
|
|
|
|
path: "$(System.ArtifactsDirectory)/openapispec"
|
|
|
|
|
runVersion: "latest"
|
|
|
|
|
dependsOn: Test
|
|
|
|
|
|
|
|
|
|
- task: CmdLine@2
|
|
|
|
|
displayName: 'Download OpenApi Generator'
|
|
|
|
|
inputs:
|
|
|
|
|
scripts: "wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/${{ parameters.GeneratorVersion }}/openapi-generator-cli-${{ parameters.GeneratorVersion }}.jar -O openapi-generator-cli.jar"
|
|
|
|
|
script: "wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/${{ parameters.GeneratorVersion }}/openapi-generator-cli-${{ parameters.GeneratorVersion }}.jar -O openapi-generator-cli.jar"
|
|
|
|
|
|
|
|
|
|
# Generate npm api client
|
|
|
|
|
# Unstable
|
|
|
|
|