Skip to content

Commit 2fb59ff

Browse files
authored
doc: remove references to petstore (#21111)
1 parent 4c08ff8 commit 2fb59ff

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

modules/openapi-generator/src/main/resources/elixir/connection.ex.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ defmodule {{moduleName}}.Connection do
9696
of the function call, will be set as a bearer token in the
9797
`authorization` header.
9898
{{/hasOAuthMethods}}
99-
- `options`: a keyword list of OpenAPIPetstore.Connection.options.
99+
- `options`: a keyword list of {{moduleName}}.Connection.options.
100100

101101
### Returns
102102

@@ -133,7 +133,7 @@ defmodule {{moduleName}}.Connection do
133133
that returns a bearer token.
134134
- `scopes_or_password`: a list of Strings represenging OAuth2 scopes, or
135135
a single string that is the password for the username provided.
136-
- `options`: a keyword list of OpenAPIPetstore.Connection.options.
136+
- `options`: a keyword list of {{moduleName}}.Connection.options.
137137

138138
### Returns
139139

@@ -155,7 +155,7 @@ defmodule {{moduleName}}.Connection do
155155
of the function call, will be set as a bearer token in the
156156
`authorization` header.
157157
- `scopes`: a list of Strings represenging OAuth2 scopes.
158-
- `options`: a keyword list of OpenAPIPetstore.Connection.options.
158+
- `options`: a keyword list of {{moduleName}}.Connection.options.
159159

160160
### Returns
161161

samples/client/petstore/elixir/lib/openapi_petstore/connection.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ defmodule OpenapiPetstore.Connection do
8484
- `token`: a String or a function of arity one. This value, or the result
8585
of the function call, will be set as a bearer token in the
8686
`authorization` header.
87-
- `options`: a keyword list of OpenAPIPetstore.Connection.options.
87+
- `options`: a keyword list of OpenapiPetstore.Connection.options.
8888
8989
### Returns
9090
@@ -112,7 +112,7 @@ defmodule OpenapiPetstore.Connection do
112112
that returns a bearer token.
113113
- `scopes_or_password`: a list of Strings represenging OAuth2 scopes, or
114114
a single string that is the password for the username provided.
115-
- `options`: a keyword list of OpenAPIPetstore.Connection.options.
115+
- `options`: a keyword list of OpenapiPetstore.Connection.options.
116116
117117
### Returns
118118

0 commit comments

Comments
 (0)