Class ApiAwareMiddlewareVersionV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.AbstractMiddlewareVersion
com.kingsrook.qqq.middleware.javalin.specs.v1.MiddlewareVersionV1
com.kingsrook.qqq.api.middleware.specs.v1.ApiAwareMiddlewareVersionV1
-
Field Summary
Fields inherited from class com.kingsrook.qqq.middleware.javalin.specs.v1.MiddlewareVersionV1
FEATURES, SEMANTIC_VERSIONFields inherited from class com.kingsrook.qqq.middleware.javalin.specs.AbstractMiddlewareVersion
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVersion(String apiName, APIVersion apiVersion) List<AbstractEndpointSpec<?, ?, ?>> Documentation belongs only to registered API paths and versions.List<AbstractEndpointSpec<?, ?, ?>> hey - don't re-construct the endpoint-spec objects inside this method...voidpreExecute(io.javalin.http.Context context) Methods inherited from class com.kingsrook.qqq.middleware.javalin.specs.v1.MiddlewareVersionV1
getFeatures, getSemanticVersion, getVersionMethods inherited from class com.kingsrook.qqq.middleware.javalin.specs.AbstractMiddlewareVersion
generateExtensionOpenAPIModel, generateOpenAPIModel, getAllEndpointSpecs, getExtensions, getJavalinEndpointGroup, loadExtensions, setQInstance, warnIfPathMethodAlreadyUsed
-
Constructor Details
-
ApiAwareMiddlewareVersionV1
public ApiAwareMiddlewareVersionV1()Constructor
-
-
Method Details
-
addVersion
-
defineEndpointSpecs
-
getEndpointSpecs
Description copied from class:AbstractMiddlewareVersionhey - don't re-construct the endpoint-spec objects inside this method...- Overrides:
getEndpointSpecsin classMiddlewareVersionV1
-
getVersionBasePath
- Overrides:
getVersionBasePathin classAbstractMiddlewareVersion
-
getDocumentationBasePaths
Documentation belongs only to registered API paths and versions. The generic execution path would otherwise capture routes such as esb/overview.- Overrides:
getDocumentationBasePathsin classAbstractMiddlewareVersion
-
preExecute
- Overrides:
preExecutein classAbstractMiddlewareVersion- Throws:
QException
-