View Source OpenAPI.Spec.Path.Operation (OpenAPI Generator v0.1.1)
Raw operation from the OpenAPI spec
Link to this section Summary
Link to this section Types
@type t() :: %OpenAPI.Spec.Path.Operation{ "$oag_base_file": String.t(), "$oag_base_file_path": [OpenAPI.Spec.path_segment()], "$oag_last_ref_file": String.t() | nil, "$oag_last_ref_path": [OpenAPI.Spec.path_segment()], "$oag_path": String.t(), "$oag_path_method": String.t(), "$oag_path_parameters": [OpenAPI.Spec.Path.Parameter.t()], callbacks: nil, deprecated: boolean(), description: String.t() | nil, external_docs: OpenAPI.Spec.ExternalDocumentation.t() | nil, operation_id: String.t() | nil, parameters: [OpenAPI.Spec.Path.Parameter.t()], request_body: OpenAPI.Spec.RequestBody.t() | nil, responses: %{optional(pos_integer() | :default) => OpenAPI.Spec.Response.t()}, security: nil, servers: [OpenAPI.Spec.Server.t()], summary: String.t() | nil, tags: [String.t()] }
Link to this section Functions
@spec decode_parameters(map(), map()) :: {map(), [OpenAPI.Spec.Path.Parameter.t()]}
@spec decode_request_body(map(), map()) :: {map(), OpenAPI.Spec.RequestBody.t() | nil}