Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth): add openapi #89

Merged
merged 4 commits into from
Jul 30, 2023
Merged

feat(auth): add openapi #89

merged 4 commits into from
Jul 30, 2023

Conversation

kloenk
Copy link
Member

@kloenk kloenk commented Jul 30, 2023

No description provided.

@kloenk kloenk enabled auto-merge July 30, 2023 10:10
@kloenk kloenk disabled auto-merge July 30, 2023 10:10
alias OpenApiSpex.Schema
require ExFleetYards.Schemas

defmodule UserHasTotp do

Check warning

Code scanning / Credo

Modules should have a @moduledoc tag. Warning

Modules should have a @moduledoc tag.
@kloenk kloenk enabled auto-merge July 30, 2023 12:29
})
end

defmodule ClientList do

Check warning

Code scanning / Credo

Modules should have a @moduledoc tag. Warning

Modules should have a @moduledoc tag.
"""
use ExFleetYards.Schemas, :schema

defmodule Client do

Check warning

Code scanning / Credo

Modules should have a @moduledoc tag. Warning

Modules should have a @moduledoc tag.
name: %Schema{type: :string},
pkce: %Schema{type: :boolean},
redirect_uris: %Schema{type: :array, items: %Schema{type: :string, format: :uri}},
refresh_token_ttl: %Schema{type: :integer, example: 86400},

Check failure

Code scanning / Credo

Numbers larger than 9999 should be written with underscores: 86_400 Error

Numbers larger than 9999 should be written with underscores: 86_400
access_token_ttl: %Schema{type: :integer, example: 86400},
authorization_code_ttl: %Schema{type: :integer, example: 60},
id: %Schema{type: :string, format: :uuid},
id_token_ttl: %Schema{type: :integer, example: 86400},

Check failure

Code scanning / Credo

Numbers larger than 9999 should be written with underscores: 86_400 Error

Numbers larger than 9999 should be written with underscores: 86_400
description: "Oauth Client",
type: :object,
properties: %{
access_token_ttl: %Schema{type: :integer, example: 86400},

Check failure

Code scanning / Credo

Numbers larger than 9999 should be written with underscores: 86_400 Error

Numbers larger than 9999 should be written with underscores: 86_400
@kloenk kloenk added this pull request to the merge queue Jul 30, 2023
Merged via the queue into main with commit 838ef49 Jul 30, 2023
16 of 17 checks passed
@kloenk kloenk deleted the auth/openapi branch July 30, 2023 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant