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-
ISwaggerFeatureMetadataDescribes a single Swagger feature module that should be exposed as its own OpenAPI document via the multi-document setup.
ISwaggerThemeConfigConfiguration interface for Swagger theme styling. Allows customization of primary and secondary branding colors.

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_KEYMetadata key used by Reflect.defineMetadata to attach ISwaggerFeatureMetadata to a NestJS module class decorated with SwaggerFeature.

Functions

FunctionDescription
ApiComposite Swagger decorator that wraps all NestJS OpenAPI decorators into a single declaration.
getRegisteredSwaggerFeaturesReturns all ISwaggerFeatureMetadata entries that have been registered via the SwaggerFeature decorator, sorted alphabetically by name.
getSwaggerFeatureMetadataReads the ISwaggerFeatureMetadata previously attached to a module class by the SwaggerFeature decorator.
SwaggerFeatureClass decorator that marks a NestJS module as a Swagger feature.

Released under the MIT License.