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
@spec decode_content(map(), map()) :: {map(), %{optional(String.t()) => OpenAPI.Spec.Schema.Media.t()}}
@spec decode_examples(map(), map()) :: {map(), %{optional(String.t()) => OpenAPI.Spec.Schema.Example.t()}}
@spec decode_schema(map(), map()) :: {map(), OpenAPI.Spec.Schema.t() | nil}