Skip to content
@archipel/platform-openapi Auto-generated

@breadstone/archipel-platform-openapi

Classes

ClassDescription
SwaggerFeatureDiscoveryCentralizes the discovery of Swagger features declared across backend modules.
SwaggerFeatureRegistryRegistry service for dynamically discovered Swagger features. Collects feature configurations from
SwaggerMultiDocumentService-
SwaggerThemeThe swagger theme class

Interfaces

InterfaceDescription
IFeatureSwaggerConfig-
ISwaggerFeatureMetadata-

Variables

VariableDescription
APP_VERSIONApplication version shown in the Swagger document.
PLATFORM_OPENAPI_CONFIG_ENTRIESAll configuration entries required by platform-openapi.
SWAGGER_CONTACT_EMAILContact e-mail displayed in the Swagger document.
SWAGGER_CONTACT_NAMEContact name displayed in the Swagger document.
SWAGGER_CONTACT_URLContact URL displayed in the Swagger document.
SWAGGER_FEATURE_METADATA_KEY-

Functions

FunctionDescription
ApiCustom Swagger Decorator This decorator wraps all necessary Swagger decorators into one.
getRegisteredSwaggerFeaturesRetrieves all Swagger features that have been registered through the decorator.
getSwaggerFeatureMetadataGet the Swagger feature metadata from a module class
SwaggerFeatureDecorator to register a module as a Swagger feature. This allows the SwaggerMultiDocumentService to automatically discover and create documentation.

Released under the MIT License.