Uses of Interface
org.eclipse.microprofile.openapi.models.media.Schema
Packages that use Schema
Package
Description
A set of Java interfaces, annotations and programming models which allow Java developers to natively produce OpenAPI
v3.1 documents from their Jakarta REST applications.
A set of interfaces for programmable models and their helper classes, many derived from Swagger Core library.
An interface of a programmable model to represent a single header object.
A set of interfaces for programmable models to represent input and output data types and media types.
A set of model interfaces to describe operation parameters and operation's request body.
-
Uses of Schema in org.eclipse.microprofile.openapi
Methods in org.eclipse.microprofile.openapi that return SchemaModifier and TypeMethodDescriptionstatic SchemaOASFactory.createSchema()This method creates a newSchemainstance.default SchemaOASFilter.filterSchema(Schema schema) Allows filtering of a particular Schema.Methods in org.eclipse.microprofile.openapi with parameters of type SchemaModifier and TypeMethodDescriptiondefault SchemaOASFilter.filterSchema(Schema schema) Allows filtering of a particular Schema. -
Uses of Schema in org.eclipse.microprofile.openapi.models
Methods in org.eclipse.microprofile.openapi.models that return types with arguments of type SchemaModifier and TypeMethodDescriptionComponents.getSchemas()Returns the schemas property from a Components instance.Methods in org.eclipse.microprofile.openapi.models with parameters of type SchemaModifier and TypeMethodDescriptionAdds the given schema to this Components' list of schemas with the given string as its key.Method parameters in org.eclipse.microprofile.openapi.models with type arguments of type SchemaModifier and TypeMethodDescriptiondefault ComponentsSets this Components' schemas property to the given Map containing keys and reusable schemas.voidComponents.setSchemas(Map<String, Schema> schemas) Sets this Components' schemas property to the given Map containing keys and reusable schema objects. -
Uses of Schema in org.eclipse.microprofile.openapi.models.headers
Methods in org.eclipse.microprofile.openapi.models.headers that return SchemaModifier and TypeMethodDescriptionHeader.getSchema()Returns the schema property from a Header instance.Methods in org.eclipse.microprofile.openapi.models.headers with parameters of type Schema -
Uses of Schema in org.eclipse.microprofile.openapi.models.media
Methods in org.eclipse.microprofile.openapi.models.media that return SchemaModifier and TypeMethodDescriptionAdds the given Schema to the list of schemas used by the allOf property.Adds the given Schema to the list of schemas used by the anyOf property.Schema.addDependentRequired(String propertyName, List<String> additionalRequiredPropertyNames) Sets the list of additional property names that are required if a property namedpropertyNameexists.Schema.addDependentSchema(String propertyName, Schema schema) Sets the dependent schema for a property name.Schema.addEnumeration(Object enumeration) Adds an item of the appropriate type to the enumerated list of values allowed.Schema.addExample(Object example) Adds an example to the examples list.default SchemaSchema.additionalPropertiesBoolean(Boolean additionalProperties) Deprecated.default SchemaSchema.additionalPropertiesSchema(Schema additionalProperties) Sets the Schema which defines additional properties not defined by "properties" or "patternProperties".Adds the given Schema to the list of schemas used by the oneOf property.Schema.addPatternProperty(String regularExpression, Schema schema) Adds a regular expression and schema pair to the list of pattern properties.Schema.addPrefixItem(Schema prefixItem) Adds a schema to the end of the prefixItems list.Schema.addProperty(String key, Schema propertySchema) Adds a Schema property of the provided name using the given schema.Schema.addRequired(String required) Adds the name of an item to the list of fields required in objects defined by this Schema.Schema.addType(Schema.SchemaType type) Adds a type to the type list.default SchemaSets the schemas used by the allOf property of this Schema.default SchemaSets the schemas used by the anyOf property of this Schema.default SchemaSchema.booleanSchema(Boolean booleanSchema) Sets this schema to a boolean value.default SchemaSets the comment to be included in the$commentproperty of the schema.default SchemaSchema.constValue(Object constValue) Sets the const property from this Schema instance.default SchemaSets the contains property of this Schema instance.default SchemaSchema.contentEncoding(String contentEncoding) Sets the contentEncoding property from this Schema instance.default SchemaSchema.contentMediaType(String contentMediaType) Sets the contentMediaType property from this Schema instance.default SchemaSchema.contentSchema(Schema contentSchema) Sets the contentSchema property from this Schema instance.default SchemaSchema.defaultValue(Object defaultValue) Set the default value property of this Schema instance to the value given.default SchemaSchema.dependentRequired(Map<String, List<String>> dependentRequired) Sets the dependentRequired property of this Schema instance.default SchemaSchema.dependentSchemas(Map<String, Schema> dependentSchemas) Sets the dependentSchemas property of this Schema instance.default SchemaSchema.deprecated(Boolean deprecated) Sets the deprecated property of this Schema.default SchemaSchema.description(String description) Sets the description property of this Schema to the given string.default SchemaSchema.discriminator(Discriminator discriminator) Sets the discriminator property of this Schema instance to the given object.default SchemaSchema.elseSchema(Schema elseSchema) Sets the "else" schema.default SchemaSchema.enumeration(List<Object> enumeration) default SchemaDeprecated.useexamples(List)default SchemaSets the examples property of this Schema instance.default SchemaSchema.exclusiveMaximum(BigDecimal exclusiveMaximum) Sets the exclusiveMaximum property of this Schema instance to the value given.default SchemaSchema.exclusiveMinimum(BigDecimal exclusiveMinimum) Sets the exclusiveMinimum property of this Schema instance to the value given.default SchemaSchema.externalDocs(ExternalDocumentation externalDocs) Sets the externalDocs property of this Schema to the indicated value.default SchemaSets the format property of this Schema instance to the given string.Schema.getAdditionalPropertiesSchema()Returns the value of the "additionalProperties" setting, which indicates whether properties not otherwise defined are allowed.Schema.getContains()Returns the contains property of this Schema instance.Schema.getContentSchema()Returns the contentSchema property from this Schema instance.Schema.getElseSchema()Returns the "else" schema.Schema.getIfSchema()Returns the "if" schema.Schema.getItems()Returns the Schema used for all the elements of an array typed Schema.Schema.getNot()Returns a Schema which describes properties not allowed in objects defined by the current schema.Schema.getPropertyNames()Returns the propertyNames property from this Schema instance.MediaType.getSchema()Returns the schema property from a MediaType instance.Schema.getThenSchema()Returns the "then" schema.Schema.getUnevaluatedItems()Returns the unevaluatedItems property of this Schema instance.Schema.getUnevaluatedProperties()Returns the unevaluatedProperties property of this Schema instance.default SchemaSets the "if" schema.default SchemaSet the Schema used for all the elements of an array typed Schema.default SchemaSchema.maxContains(Integer maxContains) Sets the maxContains property from this Schema instance.default SchemaSchema.maximum(BigDecimal maximum) Sets the maximum property of this Schema instance to the value given.default SchemaSets the maxItems property of this Schema instance to the value given.default SchemaSets the maxLength property of this Schema instance to the value given.default SchemaSchema.maxProperties(Integer maxProperties) Sets the maxProperties property of this Schema instance to the value given.default SchemaSchema.minContains(Integer minContains) Sets the minContains property from this Schema instance.default SchemaSchema.minimum(BigDecimal minimum) Sets the minimum property of this Schema instance to the value given.default SchemaSets the minItems property of this Schema instance to the value given.default SchemaSets the minLength property of this Schema instance to the value given.default SchemaSchema.minProperties(Integer minProperties) Sets the minProperties property of this Schema instance to the value given.default SchemaSchema.multipleOf(BigDecimal multipleOf) Sets the multipleOf property of this Schema instance to the value given.default SchemaSets the not property to a Schema which describes properties not allowed in objects defined by the current schema.default SchemaSets the schemas used by the oneOf property of this Schema.default SchemaSets the pattern property of this Schema instance to the string given.default SchemaSchema.patternProperties(Map<String, Schema> patternProperties) Sets the patternProperties property from this Schema instance.default SchemaSchema.prefixItems(List<Schema> prefixItems) Sets the prefixItems property of this Schema instance.default SchemaSchema.properties(Map<String, Schema> properties) Sets the properties of this Schema instance to the map provided.default SchemaSchema.propertyNames(Schema propertyNameSchema) Sets the propertyNames property from this Schema instance.default SchemaSets the readOnly property of this Schema.default SchemaSets the list of fields required in objects defined by this Schema.default SchemaSchema.schemaDialect(String schemaDialect) Sets the schema dialect in use.Sets a schema property.default SchemaSchema.thenSchema(Schema thenSchema) Sets the "then" schema.default SchemaSets the title property of this Schema instance to the given string.default SchemaSchema.type(List<Schema.SchemaType> types) Sets the type property of this Schema instance.default SchemaSchema.unevaluatedItems(Schema unevaluatedItems) Sets the unevaluatedItems property of this Schema instance.default SchemaSchema.unevaluatedProperties(Schema unevaluatedProperties) Sets the unevaluatedProperties property of this Schema instance.default SchemaSchema.uniqueItems(Boolean uniqueItems) Sets the uniqueItems property of this Schema instance to the value given.default SchemaSets the writeOnly property of this Schema.default SchemaSets the xml property of this Schema instance.Methods in org.eclipse.microprofile.openapi.models.media that return types with arguments of type SchemaModifier and TypeMethodDescriptionSchema.getAllOf()Returns the schemas used by the allOf property.Schema.getAnyOf()Returns the schemas used by the anyOf property.Schema.getDependentSchemas()Returns the dependentSchemas property of this Schema instance.Schema.getOneOf()Returns the schemas used by the oneOf property.Schema.getPatternProperties()Returns the patternProperties property from this Schema instance.Schema.getPrefixItems()Returns the prefixItems property of this Schema instance.Schema.getProperties()Returns the properties defined in this Schema.Methods in org.eclipse.microprofile.openapi.models.media with parameters of type SchemaModifier and TypeMethodDescriptionAdds the given Schema to the list of schemas used by the allOf property.Adds the given Schema to the list of schemas used by the anyOf property.Schema.addDependentSchema(String propertyName, Schema schema) Sets the dependent schema for a property name.default SchemaSchema.additionalPropertiesSchema(Schema additionalProperties) Sets the Schema which defines additional properties not defined by "properties" or "patternProperties".Adds the given Schema to the list of schemas used by the oneOf property.Schema.addPatternProperty(String regularExpression, Schema schema) Adds a regular expression and schema pair to the list of pattern properties.Schema.addPrefixItem(Schema prefixItem) Adds a schema to the end of the prefixItems list.Schema.addProperty(String key, Schema propertySchema) Adds a Schema property of the provided name using the given schema.default SchemaSets the contains property of this Schema instance.default SchemaSchema.contentSchema(Schema contentSchema) Sets the contentSchema property from this Schema instance.default SchemaSchema.elseSchema(Schema elseSchema) Sets the "else" schema.default SchemaSets the "if" schema.default SchemaSet the Schema used for all the elements of an array typed Schema.default SchemaSets the not property to a Schema which describes properties not allowed in objects defined by the current schema.default SchemaSchema.propertyNames(Schema propertyNameSchema) Sets the propertyNames property from this Schema instance.voidSchema.removeAllOf(Schema allOf) Removes the given Schema to the list of schemas used by the allOf property.voidSchema.removeAnyOf(Schema anyOf) Removes the given Schema to the list of schemas used by the anyOf property.voidSchema.removeOneOf(Schema oneOf) Removes the given Schema to the list of schemas used by the oneOf property.voidSchema.removePrefixItem(Schema prefixItem) Removes a schema from the prefixItems list.default MediaTypeSets the schema field of a MediaType instance to the given schema object.voidSchema.setAdditionalPropertiesSchema(Schema additionalProperties) Sets the Schema which defines additional properties not defined by "properties" or "patternProperties".voidSchema.setContains(Schema contains) Sets the contains property of this Schema instance.voidSchema.setContentSchema(Schema contentSchema) Sets the contentSchema property from this Schema instance.voidSchema.setElseSchema(Schema elseSchema) Sets the "else" schema.voidSchema.setIfSchema(Schema ifSchema) Sets the "if" schema.voidSet the Schema used for all the elements of an array typed Schema.voidSets the not property to a Schema which describes properties not allowed in objects defined by the current schema.voidSchema.setPropertyNames(Schema propertyNameSchema) Sets the propertyNames property from this Schema instance.voidSets the schema field of a MediaType instance to the given schema object.voidSchema.setThenSchema(Schema thenSchema) Sets the "then" schema.voidSchema.setUnevaluatedItems(Schema unevaluatedItems) Sets the unevaluatedItems property of this Schema instance.voidSchema.setUnevaluatedProperties(Schema unevaluatedProperties) Sets the unevaluatedProperties property of this Schema instance.default SchemaSchema.thenSchema(Schema thenSchema) Sets the "then" schema.default SchemaSchema.unevaluatedItems(Schema unevaluatedItems) Sets the unevaluatedItems property of this Schema instance.default SchemaSchema.unevaluatedProperties(Schema unevaluatedProperties) Sets the unevaluatedProperties property of this Schema instance.Method parameters in org.eclipse.microprofile.openapi.models.media with type arguments of type SchemaModifier and TypeMethodDescriptiondefault SchemaSets the schemas used by the allOf property of this Schema.default SchemaSets the schemas used by the anyOf property of this Schema.default SchemaSchema.dependentSchemas(Map<String, Schema> dependentSchemas) Sets the dependentSchemas property of this Schema instance.default SchemaSets the schemas used by the oneOf property of this Schema.default SchemaSchema.patternProperties(Map<String, Schema> patternProperties) Sets the patternProperties property from this Schema instance.default SchemaSchema.prefixItems(List<Schema> prefixItems) Sets the prefixItems property of this Schema instance.default SchemaSchema.properties(Map<String, Schema> properties) Sets the properties of this Schema instance to the map provided.voidSets the schemas used by the allOf property of this Schema.voidSets the schemas used by the anyOf property of this Schema.voidSchema.setDependentSchemas(Map<String, Schema> dependentSchemas) Sets the dependentSchemas property of this Schema instance.voidSets the schemas used by the oneOf property of this Schema.voidSchema.setPatternProperties(Map<String, Schema> patternProperties) Sets the patternProperties property from this Schema instance.voidSchema.setPrefixItems(List<Schema> prefixItems) Sets the prefixItems property of this Schema instance.voidSchema.setProperties(Map<String, Schema> properties) Sets the properties of this Schema instance to the map provided. -
Uses of Schema in org.eclipse.microprofile.openapi.models.parameters
Methods in org.eclipse.microprofile.openapi.models.parameters that return SchemaModifier and TypeMethodDescriptionParameter.getSchema()Returns the schema property from a Parameter instance.Methods in org.eclipse.microprofile.openapi.models.parameters with parameters of type Schema
additionalPropertiesSchema(Schema)with a boolean-valued schema