-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
}) | ||
end | ||
|
||
defmodule ClientList do |
Check warning
Code scanning / Credo
Modules should have a @moduledoc tag. Warning
""" | ||
use ExFleetYards.Schemas, :schema | ||
|
||
defmodule Client do |
Check warning
Code scanning / Credo
Modules should have a @moduledoc tag. Warning
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
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
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
No description provided.