Package | Description |
---|---|
org.eclipse.microprofile.openapi.models |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.info |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
Info |
OpenAPI.getInfo()
Returns the info property from an OpenAPI instance.
|
Modifier and Type | Method and Description |
---|---|
OpenAPI |
OpenAPI.info(Info info)
Sets this OpenAPI instance's info property to the given object.
|
void |
OpenAPI.setInfo(Info info)
Sets this OpenAPI instance's info property to the given object.
|
Modifier and Type | Method and Description |
---|---|
Info |
Info.contact(Contact contact)
Sets this Info instance's contact information for the exposed API and returns this instance of Info.
|
Info |
Info.description(String description)
Sets this Info instance's description for the application to the given description and returns this instance of Info.
|
Info |
Info.license(License license)
Sets this Info's license information for the exposed API and returns this instance of Info.
|
Info |
Info.termsOfService(String termsOfService)
Sets this Info instance's URL to the Terms of Service for the API to the given String and returns this instance of Info.
|
Info |
Info.title(String title)
Sets this Info instance's title for the application to the given title and returns this instance of Info
|
Info |
Info.version(String version)
Sets the version of the OpenAPI document for this instance of Info to the given version and returns this instance of Info
|
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.