Skip to main content

Module schemas

Module schemas 

Source

Functionsยง

doc_attr
Emit #[doc = "..."] if the description is Some, otherwise nothing.
generate_object_struct
Generate a struct from an object schema.
generate_schemas
Generate all schema structs and enums from components/schemas.
object_field_tokens
Emit a single struct field for an object property. Shared between generate_object_struct and the allOf merger in super::compositions.