# Functions
AddXOrderOnDefaultExample amends the spec to specify the map value order in "default" & "example" fields as they appear in the spec (supports yaml documents only).
AddXOrderOnProperty amends the spec to specify property order as they appear in the spec (supports yaml documents only).
DefaultFuncMap yields a map with default functions for use n the templates.
DefaultSectionOpts for a given opts, this is used when no config file is passed and uses the embedded templates when no local override can be found.
No description provided by the author
KclLangOpts for rendering items as kcl code.
NewRepository creates a new template repository with the provided functions defined.
No description provided by the author
No description provided by the author
WithXOrder amends the spec to specify the order of some fields (such as property, default, example, ...).
# Constants
No description provided by the author
# Variables
Debug when the env var DEBUG or SWAGGER_DEBUG is not empty the generators will be very noisy about what they are doing.
DefaultLanguageFunc defines the default generation language.
FuncMapFunc yields a map with all functions for templates.
# Structs
GenApp represents all the meta data needed to generate an application from a swagger spec.
GenCommon contains common properties needed across definitions, app and operations TargetImportPath may be used by templates to import other (possibly generated) packages in the generation path (e.g.
GenDefinition contains all the properties to generate a definition from a swagger spec.
GenOpts the options for the generator.
GenSchema contains all the information needed to generate the code for a schema.
GenSecurityRequirement represents a security requirement for an operation.
GenSecurityScheme represents a security scheme for code generation.
GenSerGroup represents a group of serializers: this links a serializer to a list of prioritized media types (mime).
GenSerializer represents a single serializer for a particular media type.
LanguageOpts to describe a language to the code generator.
Repository is the repository for the generator templates.
SectionOpts allows for specifying options to customize the templates used for generation.
TemplateOpts allows for codegen customization.
# Type aliases
GenDefinitions represents a list of operations to generate this implements a sort by operation id.
GenSchemaList is a list of schemas for generation.
GenSecurityRequirements represents a compounded security requirement specification.
GenSecuritySchemes sorted representation of serializers.
GenSerGroups sorted representation of serializer groups.
GenSerializers sorted representation of serializers.