Skip to content

Commit 7af468c

Browse files
committed
update spec
1 parent 4d1606f commit 7af468c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

bin/configs/go-petstore-oas2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
generatorName: go
22
outputDir: samples/client/petstore/go/go-petstore
3-
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
3+
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing-localhost.yaml
44
templateDir: modules/openapi-generator/src/main/resources/go
55
additionalProperties:
66
packageName: petstore

modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ info:
66
license:
77
name: Apache-2.0
88
url: 'https://www.apache.org/licenses/LICENSE-2.0.html'
9-
host: localhost
9+
host: petstore.swagger.io:80
1010
basePath: /v2
1111
tags:
1212
- name: pet
@@ -1135,7 +1135,7 @@ paths:
11351135
securityDefinitions:
11361136
petstore_auth:
11371137
type: oauth2
1138-
authorizationUrl: 'http://localhost/api/oauth/dialog'
1138+
authorizationUrl: 'http://petstore.swagger.io/api/oauth/dialog'
11391139
flow: implicit
11401140
scopes:
11411141
'write:pets': modify pets in your account

0 commit comments

Comments
 (0)