minor typo fix in samples : "pestore" -> petstore (#2763)

* minor typo fix in samples : "pestore" -> petstore

* add typescript-rxjs in samples auto-labeled bot

* Changing file permissions
This commit is contained in:
Vincent Devos 2019-04-30 11:55:44 +02:00 committed by William Cheng
parent 942a0dafb6
commit 0ece56209f
8 changed files with 32 additions and 8 deletions

View File

@ -927,7 +927,7 @@
] ]
}, },
{ {
"input": "spring-all-pestore.sh", "input": "spring-all-petstore.sh",
"matches": [ "matches": [
"Server: Spring" "Server: Spring"
] ]
@ -1261,6 +1261,30 @@
"matches": [ "matches": [
"Client: TypeScript" "Client: TypeScript"
] ]
},
{
"input": "typescript-rxjs-petstore-interfaces.sh",
"matches": [
"Client: TypeScript"
]
},
{
"input": "typescript-rxjs-petstore-target-es6.sh",
"matches": [
"Client: TypeScript"
]
},
{
"input": "typescript-rxjs-petstore-with-npm-version.sh",
"matches": [
"Client: TypeScript"
]
},
{
"input": "typescript-rxjs-petstore.sh",
"matches": [
"Client: TypeScript"
]
} }
], ],
"text": [ "text": [

View File

@ -27,7 +27,7 @@ fi
# if you've executed sbt assembly previously it will use that instead. # if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties" export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="generate -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml --artifact-id pestore-resttemplate-withxml -g java -c bin/java-petstore-resttemplate.json -o samples/client/petstore/java/resttemplate-withXml -DhideGenerationTimestamp=true,withXml=true $@" ags="generate -i modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml --artifact-id petstore-resttemplate-withxml -g java -c bin/java-petstore-resttemplate.json -o samples/client/petstore/java/resttemplate-withXml -DhideGenerationTimestamp=true,withXml=true $@"
echo "Removing files and folders under samples/client/petstore/java/resttemplate/src/main" echo "Removing files and folders under samples/client/petstore/java/resttemplate/src/main"
rm -rf samples/client/petstore/java/resttemplate-withXml/src/main rm -rf samples/client/petstore/java/resttemplate-withXml/src/main

View File

@ -18,7 +18,7 @@ declare -a scripts=(
"./bin/java-jaxrs-petstore-server-all.sh" "./bin/java-jaxrs-petstore-server-all.sh"
"./bin/java-msf4j-petstore-server.sh" "./bin/java-msf4j-petstore-server.sh"
"./bin/openapi3/jaxrs-jersey-petstore.sh" "./bin/openapi3/jaxrs-jersey-petstore.sh"
"./bin/spring-all-pestore.sh" "./bin/spring-all-petstore.sh"
"./bin/javascript-petstore-all.sh" "./bin/javascript-petstore-all.sh"
"./bin/kotlin-client-petstore.sh" "./bin/kotlin-client-petstore.sh"
"./bin/kotlin-client-string.sh" "./bin/kotlin-client-string.sh"

View File

@ -5,6 +5,6 @@ If Not Exist %executable% (
) )
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
set ags=generate --artifact-id pestore-resttemplate-withxml -i modules\openapi-generator\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -g java -c bin\java-petstore-resttemplate.json -o samples\client\petstore\java\resttemplate-withXml -DhideGenerationTimestamp=true,withXml=true set ags=generate --artifact-id petstore-resttemplate-withxml -i modules\openapi-generator\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -g java -c bin\java-petstore-resttemplate.json -o samples\client\petstore\java\resttemplate-withXml -DhideGenerationTimestamp=true,withXml=true
java %JAVA_OPTS% -jar %executable% %ags% java %JAVA_OPTS% -jar %executable% %ags%

View File

@ -84,7 +84,7 @@ if(hasProperty('target') && target == 'android') {
install { install {
repositories.mavenInstaller { repositories.mavenInstaller {
pom.artifactId = 'pestore-resttemplate-withxml' pom.artifactId = 'petstore-resttemplate-withxml'
} }
} }

View File

@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.openapitools</groupId> <groupId>org.openapitools</groupId>
<artifactId>pestore-resttemplate-withxml</artifactId> <artifactId>petstore-resttemplate-withxml</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>pestore-resttemplate-withxml</name> <name>petstore-resttemplate-withxml</name>
<version>1.0.0</version> <version>1.0.0</version>
<url>https://github.com/openapitools/openapi-generator</url> <url>https://github.com/openapitools/openapi-generator</url>
<description>OpenAPI Java</description> <description>OpenAPI Java</description>

View File

@ -1 +1 @@
rootProject.name = "pestore-resttemplate-withxml" rootProject.name = "petstore-resttemplate-withxml"