Package dk.mada.jaxrs.openapi
package dk.mada.jaxrs.openapi
Transforms OpenApi schema-based model to the internal model.
This is the only package that should work with OpenApi types.
Steps in converting the OpenApi document into the internal model:
- Use OpenAPIParser to parse the document - Convert the OpenApi data to model types. All type references are made
with ParserTypeRef since there may be references to types not yet encountered. - Find and resolve name conflicts.
This causes all affected TypeName references to be updated. - Finally replace all ParserTypeRefs with model's
TypeRefs and parser DTO instances with (possibly renamed) model DTO instances.
The model is now self-contained and immutable, ready to be used by the generators.
-
ClassDescriptionTransforms OpenApi operations to local model objects.Renames types to avoid on-disk conflicts.Transforms OpenApi dtos (models) to local model objects.Transforms OpenApi info to local model objects.Parses OpenAPI specification and transforms to local model classes.Generator options that have leaked into the parser.parser-* configuration options.Type representing a synthetic combined class during parsing.Type representing a composite class (schema with allOf) during parsing.A reference to types used during parsing.Constructs and keeps track of parser references.Types found while parsing.Works through a parsed model that contains parser type references and resolves them to pure model types.OpenApi Schema parser.OpenApi V3.0.x parser details.OpenApi V3.1.x parser details.Transforms OpenApi security to local model objects.Converts a specification schema to an internal model type.Special type for marking types unknown at parse time.Validation factory.