File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
modules/openapi-generator/src/test/resources/3_0/crystal
samples/client/petstore/crystal/src/petstore Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11openapi : 3.0.0
22servers :
3- - url : ' http://petstore.swagger.io /v2'
3+ - url : ' http://localhost /v2'
44info :
55 description : >-
66 This is a sample server Petstore server. For this sample, you can use the api key
@@ -636,7 +636,7 @@ components:
636636 type : oauth2
637637 flows :
638638 implicit :
639- authorizationUrl : ' http://petstore.swagger.io /api/oauth/dialog'
639+ authorizationUrl : ' http://localhost /api/oauth/dialog'
640640 scopes :
641641 ' write:pets ' : modify pets in your account
642642 ' read:pets ' : read your pets
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ module Petstore
130130 # Create a new `Configuration`.
131131 def initialize
132132 @scheme = " http"
133- @host = " petstore.swagger.io "
133+ @host = " localhost "
134134 @base_path = " /v2"
135135 @server_index = 0
136136 @server_operation_index = {} of Symbol => String
@@ -237,7 +237,7 @@ module Petstore
237237 def server_settings
238238 [
239239 {
240- url: " http://petstore.swagger.io /v2" ,
240+ url: " http://localhost /v2" ,
241241 description: " No description provided" ,
242242 }
243243 ]
You can’t perform that action at this time.
0 commit comments