Skip to content

Commit c4a41d5

Browse files
committed
use localhost
1 parent 6a76e85 commit c4a41d5

3 files changed

Lines changed: 750 additions & 1 deletion

File tree

.github/workflows/samples-groovy.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
matrix:
2121
sample:
2222
- samples/client/petstore/groovy
23+
services:
24+
petstore-api:
25+
image: swaggerapi/petstore
26+
ports:
27+
- 80:8080
28+
env:
29+
SWAGGER_HOST: http://petstore.swagger.io
30+
SWAGGER_BASE_PATH: /v2
2331
steps:
2432
- uses: actions/checkout@v5
2533
- uses: actions/setup-java@v5

bin/configs/groovy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
generatorName: groovy
22
outputDir: samples/client/petstore/groovy
3-
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
3+
inputSpec: modules/openapi-generator/src/test/resources/3_0/groovy/petstore.yaml
44
templateDir: modules/openapi-generator/src/main/resources/Groovy
55
additionalProperties:
66
hideGenerationTimestamp: "true"

0 commit comments

Comments
 (0)