Static Private Readonly ANONYMOUS_Static Private Readonly ANONYMOUS_Static MODELINA_Static supportedProcess the input as an AsyncAPI document
Optional input: anyOptional options: ProcessorOptionsStatic Private capitalizeStatic convertReflect the name of the schema and save it to x-modelgen-inferred-name extension.
This keeps the the id of the model deterministic if used in conjunction with other AsyncAPI tools such as the generator.
to reflect name for
map of already processed schemas
Optional context: string | SchemaContextcontext information for name inference
Static Private determineDetermine the best name for a schema based on available metadata and context.
Priority order:
The schema ID from AsyncAPI parser
The JSON representation of the schema
Optional context: SchemaContextAdditional context for name inference
Optional inferredName: stringLegacy inferred name parameter
The determined schema name
Static Private hashStatic isStatic is
Class for processing AsyncAPI inputs