View Source OpenAPI.Spec.Path.Item (OpenAPI Generator v0.1.0-rc.3)
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
@spec decode_delete(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
@spec decode_get(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
@spec decode_head(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
@spec decode_options(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
@spec decode_parameters(map(), map()) :: {map(), [OpenAPI.Spec.Path.Parameter.t()]}
@spec decode_patch(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
@spec decode_post(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
@spec decode_put(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}
@spec decode_trace(map(), map()) :: {map(), OpenAPI.Spec.Path.Operation.t() | nil}