View Source OpenAPI.Reader.State (OpenAPI Generator v0.1.0-rc.0)
State of the reader phase of code generation
This struct is created at the beginning of the read phase using data from the overall
OpenAPI.State
. It is fully managed by the read phase, and it is unlikely that client libraries
would read or write to this struct.
Link to this section Summary
Types
Decode function for raw Yaml
Decode function for raw Yaml
Key or index of a Yaml document.
OpenAPI reader state
Raw Yaml input
Link to this section Types
Decode function for raw Yaml
Decode function for raw Yaml
Key or index of a Yaml document.
@type t() :: %OpenAPI.Reader.State{ base_file: String.t() | nil, base_file_path: [path_segment()], config: OpenAPI.Reader.Config.t(), current_file: String.t() | nil, current_file_path: [path_segment()], files: %{optional(String.t()) => yaml() | nil}, last_ref_file: String.t() | nil, last_ref_path: [path_segment()], path_parameters: [OpenAPI.Spec.Path.Parameter.t()], refs: %{optional(String.t()) => map()}, spec: Spec.t() | nil }
OpenAPI reader state
Raw Yaml input