
io.github.emm035.openapi.immutables.v3.schemas.Schema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-immutables Show documentation
Show all versions of openapi-immutables Show documentation
An implementation of the OpenAPI 3.0 specification with Java Immutables
The newest version!
package io.github.emm035.openapi.immutables.v3.schemas;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.github.emm035.openapi.immutables.v3.references.Referenceable;
import io.github.emm035.openapi.immutables.v3.shared.Describable;
import io.github.emm035.openapi.immutables.v3.shared.Extensible;
import io.github.emm035.openapi.immutables.v3.shared.WithSingleExample;
import java.util.Optional;
/**
* Overall schema type.
*
* All direct subclasses should be handled in {@link SchemaDeserializer}
* and annotated with {@link JsonDeserialize} to override the custom
* deserialization behavior
*/
@JsonDeserialize(using = SchemaDeserializer.class)
public interface Schema extends Describable, WithSingleExample, Extensible, Referenceable {
Optional isNullable();
Optional getTitle();
Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy