Package org.openapitools.codegen.utils
-
Interface Summary Interface Description JsonCache An interface for querying and mutating a JSON object graph.JsonCache.Factory A factory for creating JSON cache root instances.JsonCache.Root Load/merge/save/flush functionality implemented by the root of a JSON cache hierarchy. -
Class Summary Class Description DiscriminatorUtils DiscriminatorUtils.DiscriminatorData EnumUtils ExamplesUtils ImplementationVersion JsonAnnotationPolicyUtils Shared resolution/validation logic for the Jackson@JsonInclude/@JsonSetter(nulls = ...)config options and thex-jackson-json-include-policyvendor extension, used by both thespringandkotlin-springgenerators (issue #24401).Markdown Utility class to convert Markdown (CommonMark) to HTML.ModelUtils ModelUtils.ResolvedMaxBound ModelUtils.ResolvedMinBound OnceLogger Provides calling code a way to log important messages only once, regardless of how many times the invocation has occurred.OneOfImplementorAdditionalData This class holds data to add to `oneOf` members.OpenAPISorter Utility for sorting anOpenAPImodel in-place before serialization.OptionUtils ProcessUtils SemVer StringUtils URLPathUtils YamlConfigUtils -
Enum Summary Enum Description CamelizeOption JsonAnnotationPolicyUtils.JsonSetterNullsMode Resolved@JsonSetter(nulls = ...)annotation to emit for a property, if any.JsonCache.Root.MergePolicy Describes cache behaviour when a load method is called for a cache instance that is already loaded.JsonIncludePolicy Mirrorscom.fasterxml.jackson.annotation.JsonInclude.Include(the set of policies a generated@JsonIncludeannotation can be given), plus aJsonIncludePolicy.NONEsentinel meaning "emit no@JsonIncludeannotation at all", used by thespringandkotlin-springgenerators (issue #24401) for: theoptionalNonNullPropertyJsonIncludeconfig option (restricted toJsonIncludePolicy.NON_NULL,JsonIncludePolicy.NON_EMPTY,JsonIncludePolicy.NON_DEFAULT,JsonIncludePolicy.NONE— seeJsonIncludePolicy.OPTIONAL_NON_NULL_POLICIES) the resolvedx-jackson-json-include-policyvendor extension value, whether set manually on a property in the spec or computed by the automatic required/nullable matrix (any value is allowed there)TriStateBoolean A tri-state toggle for boolean-like config options that need to distinguish "the user never set this" from an explicittrue/false, e.g. so a weak default can be applied along with a one-time warning when the option was left unset, while an explicitfalsesilently keeps the same default behavior. -
Exception Summary Exception Description JsonCache.CacheException Exception thrown by cache operations.