The behaviour of methods inherited from java.lang.Object are undefined by the MicroProfile OpenAPI specification.
Example:
public class MyOASModelReaderImpl implements OASModelReader {
@Override
public OpenAPI buildModel() {
return OASFactory.createObject(OpenAPI.class)
.info(OASFactory.createObject(Info.class)
.title("AirlinesRatingApp API")
.version("1.0")
.termsOfService("http://airlinesratingapp.com/terms")
.contact(OASFactory.createObject(Contact.class)
.name("AirlinesRatingApp API Support")
.url("http://exampleurl.com/contact")
.email("techsupport@airlinesratingapp.com"))
.license(OASFactory.createObject(License.class)
.name("Apache 2.0")
.url("http://www.apache.org/licenses/LICENSE-2.0.html")))
}
| Modifier and Type | Interface and Description |
|---|---|
| public interface | Components
Components Holds a set of reusable objects for different aspects of the API specification. |
| public interface | Constructible
Marker interface for OpenAPI model objects that can be constructed by the OASFactory. |
| public interface | Extensible<T extends Extensible
The base interface for OpenAPI model objects that can contain extensions. |
| public interface | ExternalDocumentation
ExternalDocumentation Allows referencing an external resource for extended documentation. |
| public interface | |
| public interface | |
| public interface | |
| public interface | |
| public interface |