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 |
A set of interfaces for programmable models and their helper classes, many derived from Swagger Core library.
|
org.eclipse.microprofile.openapi.models.callbacks |
An interface to represent callback URL.
|
Modifier and Type | Method and Description |
---|---|
static Callback |
OASFactory.createCallback()
This method creates a new
Callback instance. |
default Callback |
OASFilter.filterCallback(Callback callback)
Allows filtering of a particular Callback.
|
Modifier and Type | Method and Description |
---|---|
default Callback |
OASFilter.filterCallback(Callback callback)
Allows filtering of a particular Callback.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Callback> |
Operation.getCallbacks()
Returns the callbacks property from an Operation instance.
|
Map<String,Callback> |
Components.getCallbacks()
Returns the callbacks property from a Components instance.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Operation.addCallback(String key,
Callback callback)
Adds the given callback item to this Operation's map of callbacks.
|
Components |
Components.addCallback(String key,
Callback callback)
Adds the given callback to this Components' map of callbacks with the given string as its key.
|
Modifier and Type | Method and Description |
---|---|
default Operation |
Operation.callbacks(Map<String,Callback> callbacks)
Sets this Operation's callbacks property to the given map.
|
default Components |
Components.callbacks(Map<String,Callback> callbacks)
Sets this Components' callbacks property to the given Map containing keys and reusable callback objects.
|
void |
Operation.setCallbacks(Map<String,Callback> callbacks)
Sets this Operation's callbacks property to the given map.
|
void |
Components.setCallbacks(Map<String,Callback> callbacks)
Sets this Components' callbacks property to the given Map containing keys and reusable callback objects.
|
Modifier and Type | Method and Description |
---|---|
Callback |
Callback.addPathItem(String name,
PathItem pathItem)
Adds the given PathItem to this Callback's list of PathItems using the string as its key.
|
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.