Package org.eclipse.microprofile.openapi.models.tags
@Version("1.0")
@ProviderType
package org.eclipse.microprofile.openapi.models.tags
Model interface to represent a tag of an API endpoint.
The behaviour of methods inherited from java.lang.Object are undefined by the MicroProfile OpenAPI specification.
Example usage:
@Override public OpenAPI buildModel() { return OASFactory.createObject(OpenAPI.class) .tags(new ArrayList<Tag>()) .addTag(OASFactory.createObject(Tag.class) .name("Get Airlines") .description("method to get all airlines"))
-
Interfaces