The mixin is exposed with Moleculer's default ServiceSchema shape so it can be
dropped into mixins. Moleculer types mixins as Partial<ServiceSchema> with the
default settings generic, which cannot express a mixin carrying custom settings typing.
The stricter typing is available as OpenApiMixinServiceSchema.
Use the import you prefer
The mixin is exposed with Moleculer's default
ServiceSchemashape so it can be dropped intomixins. Moleculer typesmixinsasPartial<ServiceSchema>with the default settings generic, which cannot express a mixin carrying custom settings typing. The stricter typing is available asOpenApiMixinServiceSchema.