Package | Description |
---|---|
org.eclipse.microprofile.openapi |
A set of Java interfaces, annotations and programming models which allow Java developers to natively produce OpenAPI
v3 documents from their JAX-RS applications.
|
org.eclipse.microprofile.openapi.models.info |
A set of interfaces of programmable models to represent metadata about the API, including license information and
contact information of the exposed API.
|
Modifier and Type | Method and Description |
---|---|
static License |
OASFactory.createLicense()
This method creates a new
License instance. |
Modifier and Type | Method and Description |
---|---|
License |
Info.getLicense()
Returns the license information for the exposed API from this Info instance.
|
default License |
License.name(String name)
Sets this License instance's name used for the API and returns this instance of License.
|
default License |
License.url(String url)
Sets this License instance's URL used for the API and returns this instance of License.
|
Modifier and Type | Method and Description |
---|---|
default Info |
Info.license(License license)
Sets this Info's license information for the exposed API and returns this instance of Info.
|
void |
Info.setLicense(License license)
Sets this Info's license information for the exposed API.
|
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.