File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
modules/openapi-generator/src/test/resources/3_0/elixir
samples/client/petstore/elixir Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1361,6 +1361,7 @@ paths:
13611361 schema :
13621362 $ref : " #/components/schemas/AllOfWithSingleRef"
13631363servers :
1364+ - url : " https://petstore.swagger.io/v2"
13641365 - url : " http://{server}.swagger.io:{port}/v2"
13651366 description : petstore server
13661367 variables :
Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ You can override the URL of your server (e.g. if you have a separate development
3131configuration files).
3232
3333``` elixir
34- config :openapi_petstore , base_url: " http ://petstore.swagger.io:80 /v2"
34+ config :openapi_petstore , base_url: " https ://petstore.swagger.io/v2"
3535```
3636
3737Multiple clients for the same API with different URLs can be created passing different ` base_url ` s when calling
3838` OpenapiPetstore.Connection.new/1 ` :
3939
4040``` elixir
41- client = OpenapiPetstore .Connection .new (base_url: " http ://petstore.swagger.io:80 /v2" )
41+ client = OpenapiPetstore .Connection .new (base_url: " https ://petstore.swagger.io/v2" )
4242```
4343
4444[ exdoc ] : https://github.com/elixir-lang/ex_doc
Original file line number Diff line number Diff line change 77# General application configuration
88import Config
99
10- config :openapi_petstore , base_url: "http ://petstore.swagger.io:80 /v2"
10+ config :openapi_petstore , base_url: "https ://petstore.swagger.io/v2"
1111
1212# Import environment specific config. This must remain at the bottom
1313# of this file so it overrides the configuration defined above.
You can’t perform that action at this time.
0 commit comments