ExBifrost.Model.GeminiSchema (ex_bifrost v0.1.0)

Copy Markdown View Source

Schema object for defining input/output data types (OpenAPI 3.0 subset)

Summary

Types

t()

@type t() :: %ExBifrost.Model.GeminiSchema{
  anyOf: [t()] | nil,
  default: any() | nil,
  description: String.t() | nil,
  enum: [String.t()] | nil,
  example: any() | nil,
  format: String.t() | nil,
  items: t() | nil,
  maxItems: integer() | nil,
  maxLength: integer() | nil,
  maxProperties: integer() | nil,
  maximum: number() | nil,
  minItems: integer() | nil,
  minLength: integer() | nil,
  minProperties: integer() | nil,
  minimum: number() | nil,
  nullable: boolean() | nil,
  pattern: String.t() | nil,
  properties: %{optional(String.t()) => t()} | nil,
  propertyOrdering: [String.t()] | nil,
  required: [String.t()] | nil,
  title: String.t() | nil,
  type: String.t() | nil
}

Functions

decode(value)