View Source OpenAPI.Spec.Components (OpenAPI Generator v0.1.0-rc.3)

Raw components map from the OpenAPI spec

Link to this section Summary

Link to this section Types

@type t() :: %OpenAPI.Spec.Components{
  callbacks: %{optional(String.t()) => [nil]},
  examples: %{optional(String.t()) => [OpenAPI.Spec.Schema.Example.t()]},
  headers: %{optional(String.t()) => [OpenAPI.Spec.Path.Header.t()]},
  links: %{optional(String.t()) => [OpenAPI.Spec.Link.t()]},
  parameters: %{
    optional(String.t()) => [
      OpenAPI.Spec.Path.Parameter.t() | OpenAPI.Spec.ref()
    ]
  },
  request_bodies: %{optional(String.t()) => [OpenAPI.Spec.RequestBody.t()]},
  responses: %{optional(String.t()) => [OpenAPI.Spec.Response.t()]},
  schemas: %{optional(String.t()) => [OpenAPI.Spec.Schema.t()]},
  security_schemes: %{optional(String.t()) => [nil]}
}