View Source OpenAPI.Spec.Path.Parameter (OpenAPI Generator v0.2.0)

Raw path parameter from the OpenAPI spec

Summary

Types

@type t() :: %OpenAPI.Spec.Path.Parameter{
  allow_empty_value: boolean(),
  allow_reserved: boolean(),
  content: %{optional(String.t()) => OpenAPI.Spec.Schema.Media.t()},
  deprecated: boolean(),
  description: String.t() | nil,
  example: any(),
  examples: %{optional(String.t()) => OpenAPI.Spec.Schema.Example.t()},
  explode: boolean(),
  in: String.t(),
  name: String.t(),
  required: boolean(),
  schema: OpenAPI.Spec.Schema.t() | OpenAPI.Spec.ref() | nil,
  style: String.t() | nil
}

Functions

Link to this function

decode_content(state, arg2)

View Source
@spec decode_content(map(), map()) ::
  {map(), %{optional(String.t()) => OpenAPI.Spec.Schema.Media.t()}}
Link to this function

decode_examples(state, arg2)

View Source
@spec decode_examples(map(), map()) ::
  {map(), %{optional(String.t()) => OpenAPI.Spec.Schema.Example.t()}}
Link to this function

decode_schema(state, arg2)

View Source
@spec decode_schema(map(), map()) :: {map(), OpenAPI.Spec.Schema.t() | nil}