Class MiddlewareVersionV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.AbstractMiddlewareVersion
com.kingsrook.qqq.middleware.javalin.specs.v1.MiddlewareVersionV1
- Direct Known Subclasses:
ApiAwareMiddlewareVersionV1
Version 1 of the QQQ UI API (`/qqq/v1`). Its semantic version (see
docs/UI-API-CHANGELOG.md) is published as the OpenAPI info.version and by
GET /qqq/v1/version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionOptional core features, published by GET /version.static final StringThe semantic version of the v1 UI API.Fields inherited from class com.kingsrook.qqq.middleware.javalin.specs.AbstractMiddlewareVersion
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<AbstractEndpointSpec<?, ?, ?>> hey - don't re-construct the endpoint-spec objects inside this method...Core feature names this version supports, published by the version endpoint, so clients can toggle optional areas without probing.The semantic version (MAJOR.MINOR.PATCH) of this version of the API, as published in the OpenAPI info.version.Methods inherited from class com.kingsrook.qqq.middleware.javalin.specs.AbstractMiddlewareVersion
generateExtensionOpenAPIModel, generateOpenAPIModel, getAllEndpointSpecs, getDocumentationBasePaths, getExtensions, getJavalinEndpointGroup, getVersionBasePath, loadExtensions, preExecute, setQInstance, warnIfPathMethodAlreadyUsed
-
Field Details
-
SEMANTIC_VERSION
The semantic version of the v1 UI API. Bump MINOR for additive changes and PATCH for fixes (UiApiContractTest enforces it); a breaking change needs a new URL version (/qqq/v2).- See Also:
-
FEATURES
-
-
Constructor Details
-
MiddlewareVersionV1
public MiddlewareVersionV1()
-
-
Method Details
-
getVersion
- Specified by:
getVersionin classAbstractMiddlewareVersion
-
getSemanticVersion
Description copied from class:AbstractMiddlewareVersionThe semantic version (MAJOR.MINOR.PATCH) of this version of the API, as published in the OpenAPI info.version. MAJOR matches the URL version. See docs/UI-API-CHANGELOG.md for the rules. The default (for versions that predate semver) is the URL version itself.- Overrides:
getSemanticVersionin classAbstractMiddlewareVersion
-
getFeatures
Description copied from class:AbstractMiddlewareVersionCore feature names this version supports, published by the version endpoint, so clients can toggle optional areas without probing.- Overrides:
getFeaturesin classAbstractMiddlewareVersion
-
getEndpointSpecs
Description copied from class:AbstractMiddlewareVersionhey - don't re-construct the endpoint-spec objects inside this method...- Specified by:
getEndpointSpecsin classAbstractMiddlewareVersion
-