Skip navigation links

Package org.eclipse.microprofile.openapi.models.tags

Model interface to represent a tag of an API endpoint.

See: Description

Package org.eclipse.microprofile.openapi.models.tags Description

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"))
 
Skip navigation links