View Source ExOAPI.Parser.V3.Context.Schema (ex_oapi v0.1.4)

Link to this section Summary

Link to this section Types

@type t() :: %ExOAPI.Parser.V3.Context.Schema{
  additional_properties: ExOAPI.EctoTypes.Maybe.t() | nil,
  all_of: [t()],
  any_of: [t()],
  deprecated: boolean() | nil,
  description: String.t() | nil,
  discriminator: ExOAPI.Parser.V3.Context.Discriminator.t() | nil,
  enum: [ExOAPI.EctoTypes.Maybe.t()] | nil,
  exclusive_maximum: boolean() | nil,
  exclusive_minimum: boolean() | nil,
  external_docs: ExOAPI.Parser.V3.Context.ExternalDoc.t() | nil,
  field_name: ExOAPI.EctoTypes.FieldAtom.t() | nil,
  format: String.t() | nil,
  items: t() | nil,
  max_items: integer() | nil,
  max_length: integer() | nil,
  max_properties: integer() | nil,
  maximum: integer() | nil,
  min_items: integer() | nil,
  min_length: integer() | nil,
  min_properties: integer() | nil,
  minimum: integer() | nil,
  multiple_of: integer() | nil,
  not: t() | nil,
  nullable: boolean() | nil,
  one_of: [t()],
  pattern: String.t() | nil,
  properties: ExOAPI.Parser.V3.Context.Schema.Map.t() | nil,
  read_only: boolean() | nil,
  ref: String.t() | nil,
  required: [ExOAPI.EctoTypes.FieldAtom.t()] | nil,
  title: String.t() | nil,
  type: ExOAPI.EctoTypes.SchemaType.t() | nil,
  unique_items: boolean() | nil,
  write_only: boolean() | nil,
  xml: ExOAPI.Parser.V3.Context.XML.t() | nil
}

Link to this section Functions

Link to this function

map_cast(struct, params)

View Source
Link to this function

map_cast(struct, params, k)

View Source
Link to this function

maybe_add_ref(changeset, k)

View Source
Link to this function

maybe_boolean(data, params)

View Source
Link to this function

maybe_schema(data, params, k \\ nil)

View Source
Link to this function

maybe_string(data, params)

View Source