Class SimpleSchema

java.lang.Object
io.swagger.v3.oas.models.media.Schema<Object>
io.micronaut.openapi.visitor.SimpleSchema

public class SimpleSchema extends io.swagger.v3.oas.models.media.Schema<Object>
Copy of MapSchema but without type 'object'. Need this class to correct deserializing schema without type.
Since:
4.8.7
  • Field Summary

    Fields inherited from class io.swagger.v3.oas.models.media.Schema

    _const, _default, _enum, BIND_TYPE_AND_TYPES, example, jsonSchema, jsonSchemaImpl
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     
    type(String type)
     

    Methods inherited from class io.swagger.v3.oas.models.media.Schema

    _const, _default, _else, _enum, _if, $anchor, $comment, $dynamicAnchor, $id, $ref, $schema, $vocabulary, addAllOfItem, addAnyOfItem, addEnumItemObject, addExample, addExtension, additionalItems, additionalProperties, addOneOfItem, addPatternProperty, addPrefixItem, addProperties, addProperty, addRequiredItem, addType, allOf, anyOf, booleanSchemaValue, cast, contains, contentEncoding, contentMediaType, contentSchema, dependentRequired, dependentSchemas, deprecated, description, discriminator, example, examples, exampleSetFlag, exclusiveMaximum, exclusiveMaximumValue, exclusiveMinimum, exclusiveMinimumValue, extensions, externalDocs, format, get$anchor, get$comment, get$dynamicAnchor, get$id, get$ref, get$schema, get$vocabulary, getAdditionalItems, getAdditionalProperties, getAllOf, getAnyOf, getBooleanSchemaValue, getConst, getContains, getContentEncoding, getContentMediaType, getContentSchema, getDefault, getDependentRequired, getDependentSchemas, getDeprecated, getDescription, getDiscriminator, getElse, getEnum, getExample, getExamples, getExampleSetFlag, getExclusiveMaximum, getExclusiveMaximumValue, getExclusiveMinimum, getExclusiveMinimumValue, getExtensions, getExternalDocs, getFormat, getIf, getItems, getJsonSchema, getJsonSchemaImpl, getMaxContains, getMaximum, getMaxItems, getMaxLength, getMaxProperties, getMinContains, getMinimum, getMinItems, getMinLength, getMinProperties, getMultipleOf, getName, getNot, getNullable, getOneOf, getPattern, getPatternProperties, getPrefixItems, getProperties, getPropertyNames, getReadOnly, getRequired, getSpecVersion, getThen, getTitle, getType, getTypes, getUnevaluatedItems, getUnevaluatedProperties, getUniqueItems, getWriteOnly, getXml, items, jsonSchema, jsonSchemaImpl, maxContains, maximum, maxItems, maxLength, maxProperties, minContains, minimum, minItems, minLength, minProperties, multipleOf, name, not, nullable, oneOf, pattern, patternProperties, prefixItems, properties, propertyNames, raw$ref, readOnly, required, set$anchor, set$comment, set$dynamicAnchor, set$id, set$ref, set$schema, set$vocabulary, setAdditionalItems, setAdditionalProperties, setAllOf, setAnyOf, setBooleanSchemaValue, setConst, setContains, setContentEncoding, setContentMediaType, setContentSchema, setDefault, setDependentRequired, setDependentSchemas, setDeprecated, setDescription, setDiscriminator, setElse, setEnum, setExample, setExamples, setExampleSetFlag, setExclusiveMaximum, setExclusiveMaximumValue, setExclusiveMinimum, setExclusiveMinimumValue, setExtensions, setExternalDocs, setFormat, setIf, setItems, setJsonSchema, setJsonSchemaImpl, setMaxContains, setMaximum, setMaxItems, setMaxLength, setMaxProperties, setMinContains, setMinimum, setMinItems, setMinLength, setMinProperties, setMultipleOf, setName, setNot, setNullable, setOneOf, setPattern, setPatternProperties, setPrefixItems, setProperties, setPropertyNames, setReadOnly, setRequired, setSpecVersion, setThen, setTitle, setType, setTypes, setUnevaluatedItems, setUnevaluatedProperties, setUniqueItems, setWriteOnly, setXml, specVersion, then, title, toIndentedString, types, unevaluatedItems, unevaluatedProperties, uniqueItems, writeOnly, xml

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SimpleSchema

      public SimpleSchema()
  • Method Details

    • type

      public SimpleSchema type(String type)
      Overrides:
      type in class io.swagger.v3.oas.models.media.Schema<Object>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class io.swagger.v3.oas.models.media.Schema<Object>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class io.swagger.v3.oas.models.media.Schema<Object>
    • toString

      public String toString()
      Overrides:
      toString in class io.swagger.v3.oas.models.media.Schema<Object>