public interface ApiContext
OpenAPI, and the current path in the API.| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.openapi.models.OpenAPI |
getApi()
The current
OpenAPI object being operated on. |
String |
getPath()
The path of the object currently being visited.
|
org.eclipse.microprofile.openapi.models.Operation |
getWorkingOperation()
The created operation currently being worked on.
|
boolean |
isApplicationType(Class<?> type) |
org.eclipse.microprofile.openapi.models.OpenAPI getApi()
OpenAPI object being operated on.String getPath()
org.eclipse.microprofile.openapi.models.Operation getWorkingOperation()
boolean isApplicationType(Class<?> type)
type - any class, not nullCopyright © 2019. All rights reserved.