@spailybot/moleculer-auto-openapi
Version:
Generate openapi scheme for moleculer
17 lines (16 loc) • 939 B
TypeScript
import { OPENAPI_VERSIONS_SUPPORTED } from './constants.js';
import { mixin } from './mixin.js';
import { Alias } from './objects/Alias.js';
import { Route } from './objects/Route.js';
import { PathAction } from './objects/PathAction.js';
import { HTTP_METHODS, rawHttpMethod, JOKER_METHOD } from './constants.js';
import type * as MoleculerWebTypes from './types/moleculer-web.js';
import { OA_GENERATE_DOCS_INPUT, OA_GENERATE_DOCS_OUTPUT } from './types/openapi.js';
export * from './types/index.js';
/**
* Use the import you prefer
*/
export default mixin;
export { mixin };
export declare const OpenApiMixin: import("moleculer").ServiceSchema<import("moleculer").ServiceSettingSchema, import("moleculer").Service<import("moleculer").ServiceSettingSchema>>;
export { OA_GENERATE_DOCS_INPUT, OA_GENERATE_DOCS_OUTPUT, OPENAPI_VERSIONS_SUPPORTED, MoleculerWebTypes, Alias, Route, HTTP_METHODS, PathAction, rawHttpMethod, JOKER_METHOD };