public interface ApiContext
OpenAPI
, and the current path in the API.Modifier and Type | Method and Description |
---|---|
AnnotationInfo |
getAnnotationInfo(org.glassfish.hk2.classmodel.reflect.ExtensibleType<? extends org.glassfish.hk2.classmodel.reflect.ExtensibleType> type) |
org.eclipse.microprofile.openapi.models.OpenAPI |
getApi()
The current
OpenAPI object being operated on. |
ClassLoader |
getApplicationClassLoader() |
String |
getPath()
The path of the object currently being visited.
|
org.glassfish.hk2.classmodel.reflect.Type |
getType(String type) |
org.eclipse.microprofile.openapi.models.Operation |
getWorkingOperation()
The created operation currently being worked on.
|
boolean |
isAllowedType(org.glassfish.hk2.classmodel.reflect.Type type) |
boolean |
isApplicationType(String type) |
org.eclipse.microprofile.openapi.models.OpenAPI getApi()
OpenAPI
object being operated on.String getPath()
org.eclipse.microprofile.openapi.models.Operation getWorkingOperation()
boolean isApplicationType(String type)
type
- any class, not nullboolean isAllowedType(org.glassfish.hk2.classmodel.reflect.Type type)
type
- any class, not nullorg.glassfish.hk2.classmodel.reflect.Type getType(String type)
type
- any class, not nullClassLoader getApplicationClassLoader()
AnnotationInfo getAnnotationInfo(org.glassfish.hk2.classmodel.reflect.ExtensibleType<? extends org.glassfish.hk2.classmodel.reflect.ExtensibleType> type)
type
- Copyright © 2020. All rights reserved.