From 2fb59ff25898182136d2c28c34103050c596273b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Fern=C3=A1ndez?= Date: Mon, 21 Apr 2025 09:42:09 +0200 Subject: [PATCH] doc: remove references to petstore (#21111) --- .../src/main/resources/elixir/connection.ex.mustache | 6 +++--- .../petstore/elixir/lib/openapi_petstore/connection.ex | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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