-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
36 lines (31 loc) · 947 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Inspired by https://github.com/grinat/moleculer-auto-openapi
*/
/// <reference types="openapi-types" />
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 const OpenApiMixin = mixin;
export {
OA_GENERATE_DOCS_INPUT,
OA_GENERATE_DOCS_OUTPUT,
OPENAPI_VERSIONS_SUPPORTED,
MoleculerWebTypes,
Alias,
Route,
HTTP_METHODS,
PathAction,
rawHttpMethod,
JOKER_METHOD
};