roll back clojure petstore to use petstore.json

This commit is contained in:
wing328 2017-05-26 22:49:30 +08:00
parent f2e149c237
commit 54119a7ac1
3 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,6 @@ fi
# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="$@ generate -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l clojure -o samples/client/petstore/clojure"
ags="$@ generate -i modules/swagger-codegen/src/test/resources/2_0/petstore.json -l clojure -o samples/client/petstore/clojure"
java $JAVA_OPTS -jar $executable $ags

View File

@ -0,0 +1 @@
2.2.3-SNAPSHOT

View File

@ -98,7 +98,7 @@
:form-params {}
:content-types []
:accepts ["application/json" "application/xml"]
:auth-names ["petstore_auth" "api_key"]}))
:auth-names ["api_key" "petstore_auth"]}))
(defn get-pet-by-id
"Find pet by ID