Skip to content

Commit

Permalink
regenerate petstore
Browse files Browse the repository at this point in the history
  • Loading branch information
fcbry committed Sep 20, 2024
1 parent 74194f7 commit 0768dc0
Show file tree
Hide file tree
Showing 13 changed files with 177 additions and 177 deletions.
2 changes: 1 addition & 1 deletion samples/client/petstore/elixir/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.43
unset
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ defmodule SwaggerPetstore.Api.AnotherFake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- body (Client): client model
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- body (`Client`): client model
- opts (`KeywordList`): [optional] Optional parameters
## Returns
{:ok, %SwaggerPetstore.Model.Client{}} on success
{:error, info} on failure
`{:ok, SwaggerPetstore.Model.Client}` on success
`{:error, info}` on failure
"""
@spec test_special_tags(Tesla.Env.client, SwaggerPetstore.Model.Client.t, keyword()) :: {:ok, SwaggerPetstore.Model.Client.t} | {:error, Tesla.Env.t}
def test_special_tags(connection, body, _opts \\ []) do
Expand Down
100 changes: 50 additions & 50 deletions samples/client/petstore/elixir/lib/swagger_petstore/api/fake.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- opts (`KeywordList`): [optional] Optional parameters
- :body (OuterBoolean): Input boolean as post body
## Returns
{:ok, %SwaggerPetstore.Model.OuterBoolean{}} on success
{:error, info} on failure
`{:ok, SwaggerPetstore.Model.OuterBoolean}` on success
`{:error, info}` on failure
"""
@spec fake_outer_boolean_serialize(Tesla.Env.client, keyword()) :: {:ok, SwaggerPetstore.Model.OuterBoolean.t} | {:error, Tesla.Env.t}
def fake_outer_boolean_serialize(connection, opts \\ []) do
Expand All @@ -44,14 +44,14 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- opts (`KeywordList`): [optional] Optional parameters
- :body (OuterComposite): Input composite as post body
## Returns
{:ok, %SwaggerPetstore.Model.OuterComposite{}} on success
{:error, info} on failure
`{:ok, SwaggerPetstore.Model.OuterComposite}` on success
`{:error, info}` on failure
"""
@spec fake_outer_composite_serialize(Tesla.Env.client, keyword()) :: {:ok, SwaggerPetstore.Model.OuterComposite.t} | {:error, Tesla.Env.t}
def fake_outer_composite_serialize(connection, opts \\ []) do
Expand All @@ -72,14 +72,14 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- opts (`KeywordList`): [optional] Optional parameters
- :body (OuterNumber): Input number as post body
## Returns
{:ok, %SwaggerPetstore.Model.OuterNumber{}} on success
{:error, info} on failure
`{:ok, SwaggerPetstore.Model.OuterNumber}` on success
`{:error, info}` on failure
"""
@spec fake_outer_number_serialize(Tesla.Env.client, keyword()) :: {:ok, SwaggerPetstore.Model.OuterNumber.t} | {:error, Tesla.Env.t}
def fake_outer_number_serialize(connection, opts \\ []) do
Expand All @@ -100,14 +100,14 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- opts (`KeywordList`): [optional] Optional parameters
- :body (OuterString): Input string as post body
## Returns
{:ok, %SwaggerPetstore.Model.OuterString{}} on success
{:error, info} on failure
`{:ok, SwaggerPetstore.Model.OuterString}` on success
`{:error, info}` on failure
"""
@spec fake_outer_string_serialize(Tesla.Env.client, keyword()) :: {:ok, SwaggerPetstore.Model.OuterString.t} | {:error, Tesla.Env.t}
def fake_outer_string_serialize(connection, opts \\ []) do
Expand All @@ -127,15 +127,15 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- body (User):
- query (String.t):
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- body (`User`):
- query (`String.t`):
- opts (`KeywordList`): [optional] Optional parameters
## Returns
{:ok, %{}} on success
{:error, info} on failure
`{:ok, %{}}` on success
`{:error, info}` on failure
"""
@spec test_body_with_query_params(Tesla.Env.client, SwaggerPetstore.Model.User.t, String.t, keyword()) :: {:ok, nil} | {:error, Tesla.Env.t}
def test_body_with_query_params(connection, body, query, _opts \\ []) do
Expand All @@ -155,14 +155,14 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- body (Client): client model
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- body (`Client`): client model
- opts (`KeywordList`): [optional] Optional parameters
## Returns
{:ok, %SwaggerPetstore.Model.Client{}} on success
{:error, info} on failure
`{:ok, SwaggerPetstore.Model.Client}` on success
`{:error, info}` on failure
"""
@spec test_client_model(Tesla.Env.client, SwaggerPetstore.Model.Client.t, keyword()) :: {:ok, SwaggerPetstore.Model.Client.t} | {:error, Tesla.Env.t}
def test_client_model(connection, body, _opts \\ []) do
Expand All @@ -181,12 +181,12 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- number (float()): None
- double (float()): None
- pattern_without_delimiter (String.t): None
- byte (binary()): None
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- number (`float()`): None
- double (`float()`): None
- pattern_without_delimiter (`String.t`): None
- byte (`binary()`): None
- opts (`KeywordList`): [optional] Optional parameters
- :integer (integer()): None
- :int32 (integer()): None
- :int64 (integer()): None
Expand All @@ -200,8 +200,8 @@ defmodule SwaggerPetstore.Api.Fake do
## Returns
{:ok, %{}} on success
{:error, info} on failure
`{:ok, %{}}` on success
`{:error, info}` on failure
"""
@spec test_endpoint_parameters(Tesla.Env.client, float(), float(), String.t, binary(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t}
def test_endpoint_parameters(connection, number, double, pattern_without_delimiter, byte, opts \\ []) do
Expand Down Expand Up @@ -236,8 +236,8 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- opts (`KeywordList`): [optional] Optional parameters
- :enum_form_string_array ([String.t]): Form parameter enum test (string array)
- :enum_form_string (String.t): Form parameter enum test (string)
- :enum_header_string_array ([String.t]): Header parameter enum test (string array)
Expand All @@ -249,8 +249,8 @@ defmodule SwaggerPetstore.Api.Fake do
## Returns
{:ok, %{}} on success
{:error, info} on failure
`{:ok, %{}}` on success
`{:error, info}` on failure
"""
@spec test_enum_parameters(Tesla.Env.client, keyword()) :: {:ok, nil} | {:error, Tesla.Env.t}
def test_enum_parameters(connection, opts \\ []) do
Expand Down Expand Up @@ -279,14 +279,14 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- param (Map): request body
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- param (`Map`): request body
- opts (`KeywordList`): [optional] Optional parameters
## Returns
{:ok, %{}} on success
{:error, info} on failure
`{:ok, %{}}` on success
`{:error, info}` on failure
"""
@spec test_inline_additional_properties(Tesla.Env.client, Map, keyword()) :: {:ok, nil} | {:error, Tesla.Env.t}
def test_inline_additional_properties(connection, param, _opts \\ []) do
Expand All @@ -305,15 +305,15 @@ defmodule SwaggerPetstore.Api.Fake do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- param (String.t): field1
- param2 (String.t): field2
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- param (`String.t`): field1
- param2 (`String.t`): field2
- opts (`KeywordList`): [optional] Optional parameters
## Returns
{:ok, %{}} on success
{:error, info} on failure
`{:ok, %{}}` on success
`{:error, info}` on failure
"""
@spec test_json_form_data(Tesla.Env.client, String.t, String.t, keyword()) :: {:ok, nil} | {:error, Tesla.Env.t}
def test_json_form_data(connection, param, param2, _opts \\ []) do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ defmodule SwaggerPetstore.Api.FakeClassnameTags123 do
## Parameters
- connection (SwaggerPetstore.Connection): Connection to server
- body (Client): client model
- opts (KeywordList): [optional] Optional parameters
- connection (`SwaggerPetstore.Connection`): Connection to server
- body (`Client`): client model
- opts (`KeywordList`): [optional] Optional parameters
## Returns
{:ok, %SwaggerPetstore.Model.Client{}} on success
{:error, info} on failure
`{:ok, SwaggerPetstore.Model.Client}` on success
`{:error, info}` on failure
"""
@spec test_classname(Tesla.Env.client, SwaggerPetstore.Model.Client.t, keyword()) :: {:ok, SwaggerPetstore.Model.Client.t} | {:error, Tesla.Env.t}
def test_classname(connection, body, _opts \\ []) do
Expand Down
Loading

0 comments on commit 0768dc0

Please sign in to comment.