View Source OpenAPI.Processor.Schema (OpenAPI Generator v0.1.0-rc.0)
Processed schema used by the renderer
This struct is created by the Processor to hold only the data necessary for rendering schemas and their types. It has the following fields:
context
: List of contexts where the schema is found in the API description.fields
: List ofOpenAPI.Processor.Schema.Field.t/0
structs contained in the schema.module_name
: Name of the module where the schema will be defined.type_name
: Name of the schema's type within its module.
All of this data is managed by the code generator, and it is unlikely that a callback would need to modify this struct directly.