View Source OpenAPI.Spec.Path.Item (OpenAPI Generator v0.1.0-rc.0)

Raw operation path from the OpenAPI spec

Link to this section Summary

Link to this section Types

@type t() :: %OpenAPI.Spec.Path.Item{
  delete: OpenAPI.Spec.Path.Operation.t() | nil,
  description: String.t() | nil,
  get: OpenAPI.Spec.Path.Operation.t() | nil,
  head: OpenAPI.Spec.Path.Operation.t() | nil,
  options: OpenAPI.Spec.Path.Operation.t() | nil,
  parameters: [OpenAPI.Spec.Path.Parameter.t()],
  patch: OpenAPI.Spec.Path.Operation.t() | nil,
  post: OpenAPI.Spec.Path.Operation.t() | nil,
  put: OpenAPI.Spec.Path.Operation.t() | nil,
  servers: [OpenAPI.Spec.Server.t()],
  summary: String.t() | nil,
  trace: OpenAPI.Spec.Path.Operation.t() | nil
}

Link to this section Functions

Link to this function

decode_delete(state, arg2)

View Source
@spec decode_delete(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
@spec decode_get(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
Link to this function

decode_head(state, arg2)

View Source
@spec decode_head(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
Link to this function

decode_options(state, arg2)

View Source
@spec decode_options(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
Link to this function

decode_parameters(state, arg2)

View Source
@spec decode_parameters(map(), map()) :: {map(), [OpenAPI.Spec.Path.Parameter.t()]}
Link to this function

decode_patch(state, arg2)

View Source
@spec decode_patch(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
Link to this function

decode_post(state, arg2)

View Source
@spec decode_post(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
@spec decode_put(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
Link to this function

decode_trace(state, arg2)

View Source
@spec decode_trace(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}