Skip navigation links

Package org.eclipse.microprofile.openapi.models.links

An interface of a model to represent a design-time link for a response.

See: Description

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

An interface of a model to represent a design-time link for a response.

The behaviour of methods inherited from java.lang.Object are undefined by the MicroProfile OpenAPI specification.

Example usage:

  .components(OASFactory.createObject(Components.class)
      .links(new HashMap<String, Link>())
          .addLink("UserName", OASFactory.createObject(Link.class)
              .description("The username corresponding to provided user id")
              .operationId("getUserByName")
              .parameters(new HashMap<String, Object>())
                  .addParameter("userId", "$request.link-path.userId")))
 
Skip navigation links