diff --git a/modules/openapi-generator/src/main/resources/elixir/connection.ex.mustache b/modules/openapi-generator/src/main/resources/elixir/connection.ex.mustache index 18c795e2390..09fb6d5dc0a 100644 --- a/modules/openapi-generator/src/main/resources/elixir/connection.ex.mustache +++ b/modules/openapi-generator/src/main/resources/elixir/connection.ex.mustache @@ -96,7 +96,7 @@ defmodule {{moduleName}}.Connection do of the function call, will be set as a bearer token in the `authorization` header. {{/hasOAuthMethods}} - - `options`: a keyword list of OpenAPIPetstore.Connection.options. + - `options`: a keyword list of {{moduleName}}.Connection.options. ### Returns @@ -133,7 +133,7 @@ defmodule {{moduleName}}.Connection do that returns a bearer token. - `scopes_or_password`: a list of Strings represenging OAuth2 scopes, or a single string that is the password for the username provided. - - `options`: a keyword list of OpenAPIPetstore.Connection.options. + - `options`: a keyword list of {{moduleName}}.Connection.options. ### Returns @@ -155,7 +155,7 @@ defmodule {{moduleName}}.Connection do of the function call, will be set as a bearer token in the `authorization` header. - `scopes`: a list of Strings represenging OAuth2 scopes. - - `options`: a keyword list of OpenAPIPetstore.Connection.options. + - `options`: a keyword list of {{moduleName}}.Connection.options. ### Returns diff --git a/samples/client/petstore/elixir/lib/openapi_petstore/connection.ex b/samples/client/petstore/elixir/lib/openapi_petstore/connection.ex index ec43955eaf2..61f3fc2cd56 100644 --- a/samples/client/petstore/elixir/lib/openapi_petstore/connection.ex +++ b/samples/client/petstore/elixir/lib/openapi_petstore/connection.ex @@ -84,7 +84,7 @@ defmodule OpenapiPetstore.Connection do - `token`: a String or a function of arity one. This value, or the result of the function call, will be set as a bearer token in the `authorization` header. - - `options`: a keyword list of OpenAPIPetstore.Connection.options. + - `options`: a keyword list of OpenapiPetstore.Connection.options. ### Returns @@ -112,7 +112,7 @@ defmodule OpenapiPetstore.Connection do that returns a bearer token. - `scopes_or_password`: a list of Strings represenging OAuth2 scopes, or a single string that is the password for the username provided. - - `options`: a keyword list of OpenAPIPetstore.Connection.options. + - `options`: a keyword list of OpenapiPetstore.Connection.options. ### Returns