fix elm test spec (#6572)

This commit is contained in:
William Cheng 2020-06-06 23:16:25 +08:00 committed by GitHub
parent 835dab4b50
commit 57d75e75e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,6 @@ fi
# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="generate -i modules/openapi-generator/src/test/resources/3_0/elm.yaml -g elm -t modules/openapi-generator/src/main/resources/elm -o samples/openapi3/client/elm --skip-validate-spec $@"
ags="generate -i modules/openapi-generator/src/test/resources/3_0/elm.yaml -g elm -t modules/openapi-generator/src/main/resources/elm -o samples/openapi3/client/elm $@"
java $JAVA_OPTS -jar $executable $ags

View File

@ -64,14 +64,17 @@ paths:
parameters:
- name: string
in: path
required: true
schema:
type: string
- name: integer
in: path
required: true
schema:
type: integer
- name: enumeration
in: path
required: true
schema:
type: string
enum: [a, b, c]