Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/samples-elixir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ jobs:
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: mix deps.get
- name: mix deps.get
run: mix deps.get
working-directory: ${{ matrix.sample }}
- name: mix test
run: mix format --check-formatted
working-directory: ${{ matrix.sample }}
- name: mix test
run: mix test
working-directory: ${{ matrix.sample }}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ defmodule OpenapiPetstore.Api.AnotherFake do
- `{:ok, OpenapiPetstore.Model.Client.t}` on success
- `{:error, Tesla.Env.t}` on failure
"""
@spec call_123_test_special_tags(Tesla.Env.client, OpenapiPetstore.Model.Client.t, keyword()) :: {:ok, OpenapiPetstore.Model.Client.t} | {:error, Tesla.Env.t}
@spec call_123_test_special_tags(
Tesla.Env.client(),
OpenapiPetstore.Model.Client.t(),
keyword()
) :: {:ok, OpenapiPetstore.Model.Client.t()} | {:error, Tesla.Env.t()}
def call_123_test_special_tags(connection, client, _opts \\ []) do
request =
%{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ defmodule OpenapiPetstore.Api.Default do
- `{:ok, OpenapiPetstore.Model.FooGetDefaultResponse.t}` on success
- `{:error, Tesla.Env.t}` on failure
"""
@spec foo_get(Tesla.Env.client, keyword()) :: {:ok, OpenapiPetstore.Model.FooGetDefaultResponse.t} | {:error, Tesla.Env.t}
@spec foo_get(Tesla.Env.client(), keyword()) ::
{:ok, OpenapiPetstore.Model.FooGetDefaultResponse.t()} | {:error, Tesla.Env.t()}
def foo_get(connection, _opts \\ []) do
request =
%{}
Expand Down
Loading
Loading