Descriptive information about a OpenAPI schema and the Dlang code that represents it.
Writes to a buffer a Dlang class representing an OpenAPI Specification schema.
Writes a Dlang source file for a module that contains a class representing an OpenAPI Specification schema.
Produce code for a class declaring a named property based on an OasSchema for the property.
Some OasSchema types refer to unnamed objects that have a fixed set of parameters. The best representation of this in D is a named class.
In our code generation, the module is a file name which contains a class whose name is in CamelCase.
Produce the full module name for a given schemaName and package.
Converts a given OasSchema type into the equivalent type in source code.
Returns the OpenAPI Specification schema name from a schema reference. E.g. "#/components/schemas/Thing" => "Thing".
When using a schema, it may reference other external schemas which have to be imported into any module that uses them.
Generates and writes to disk D-language files that correspond to the OpenAPI Document's components/schemas data. Depending on the software architecture ideas being used, such files can be known as "model" or "dto" files.
Not every propertyName to be found in an OpenAPI Specification Document can be used to a variable name in code. E.g. the name "scope" is a reserved word in D, and must be replaced with "scope_".
A collection of variable names that cannot be used to generate Dlang code.
Methods and classes used to generate classes and other data structures representing common schemas in an OpenAPI Specification.