UNPKG

koas-swagger-ui

Version:

Koas Swagger UI serves Swagger UI. This requires the `specURL` variable to have been set on the `ctx.openApi` object. Typically this is done by combining it with [`koas-spec-handler`][].

77 lines (76 loc) 7.09 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SwaggerUIBundlePlugin = void 0; var SwaggerUIBundlePlugin; (function (SwaggerUIBundlePlugin) { SwaggerUIBundlePlugin["All"] = "SwaggerUIBundle.plugins.All"; SwaggerUIBundlePlugin["AuthActions"] = "SwaggerUIBundle.plugins.AuthActions"; SwaggerUIBundlePlugin["AuthIndex"] = "SwaggerUIBundle.plugins.AuthIndex"; SwaggerUIBundlePlugin["AuthReducers"] = "SwaggerUIBundle.plugins.AuthReducers"; SwaggerUIBundlePlugin["AuthSelectors"] = "SwaggerUIBundle.plugins.AuthSelectors"; SwaggerUIBundlePlugin["AuthSpecWrapActions"] = "SwaggerUIBundle.plugins.AuthSpecWrapActions"; SwaggerUIBundlePlugin["ConfigsActions"] = "SwaggerUIBundle.plugins.ConfigsActions"; SwaggerUIBundlePlugin["ConfigsHelpers"] = "SwaggerUIBundle.plugins.ConfigsHelpers"; SwaggerUIBundlePlugin["ConfigsIndex"] = "SwaggerUIBundle.plugins.ConfigsIndex"; SwaggerUIBundlePlugin["ConfigsReducers"] = "SwaggerUIBundle.plugins.ConfigsReducers"; SwaggerUIBundlePlugin["ConfigsSelectors"] = "SwaggerUIBundle.plugins.ConfigsSelectors"; SwaggerUIBundlePlugin["ConfigsSpecActions"] = "SwaggerUIBundle.plugins.ConfigsSpecActions"; SwaggerUIBundlePlugin["DeepLinkingHelpers"] = "SwaggerUIBundle.plugins.DeepLinkingHelpers"; SwaggerUIBundlePlugin["DeepLinkingIndex"] = "SwaggerUIBundle.plugins.DeepLinkingIndex"; SwaggerUIBundlePlugin["DeepLinkingLayout"] = "SwaggerUIBundle.plugins.DeepLinkingLayout"; SwaggerUIBundlePlugin["DeepLinkingOperationTagWrapper"] = "SwaggerUIBundle.plugins.DeepLinkingOperationTagWrapper"; SwaggerUIBundlePlugin["DeepLinkingOperationWrapper"] = "SwaggerUIBundle.plugins.DeepLinkingOperationWrapper"; SwaggerUIBundlePlugin["DownloadUrl"] = "SwaggerUIBundle.plugins.DownloadUrl"; SwaggerUIBundlePlugin["ErrActions"] = "SwaggerUIBundle.plugins.ErrActions"; SwaggerUIBundlePlugin["ErrErrorTransformersHook"] = "SwaggerUIBundle.plugins.ErrErrorTransformersHook"; SwaggerUIBundlePlugin["ErrErrorTransformersTransformersNotOfType"] = "SwaggerUIBundle.plugins.ErrErrorTransformersTransformersNotOfType"; SwaggerUIBundlePlugin["ErrErrorTransformersTransformersParameterOneof"] = "SwaggerUIBundle.plugins.ErrErrorTransformersTransformersParameterOneof"; SwaggerUIBundlePlugin["ErrErrorTransformersTransformersStripInstance"] = "SwaggerUIBundle.plugins.ErrErrorTransformersTransformersStripInstance"; SwaggerUIBundlePlugin["ErrIndex"] = "SwaggerUIBundle.plugins.ErrIndex"; SwaggerUIBundlePlugin["ErrReducers"] = "SwaggerUIBundle.plugins.ErrReducers"; SwaggerUIBundlePlugin["ErrSelectors"] = "SwaggerUIBundle.plugins.ErrSelectors"; SwaggerUIBundlePlugin["FilterIndex"] = "SwaggerUIBundle.plugins.FilterIndex"; SwaggerUIBundlePlugin["FilterOpsFilter"] = "SwaggerUIBundle.plugins.FilterOpsFilter"; SwaggerUIBundlePlugin["LayoutActions"] = "SwaggerUIBundle.plugins.LayoutActions"; SwaggerUIBundlePlugin["LayoutIndex"] = "SwaggerUIBundle.plugins.LayoutIndex"; SwaggerUIBundlePlugin["LayoutReducers"] = "SwaggerUIBundle.plugins.LayoutReducers"; SwaggerUIBundlePlugin["LayoutSelectors"] = "SwaggerUIBundle.plugins.LayoutSelectors"; SwaggerUIBundlePlugin["LogsIndex"] = "SwaggerUIBundle.plugins.LogsIndex"; SwaggerUIBundlePlugin["Oas3Actions"] = "SwaggerUIBundle.plugins.Oas3Actions"; SwaggerUIBundlePlugin["Oas3AuthExtensionsWrapSelectors"] = "SwaggerUIBundle.plugins.Oas3AuthExtensionsWrapSelectors"; SwaggerUIBundlePlugin["Oas3ComponentsCallbacks"] = "SwaggerUIBundle.plugins.Oas3ComponentsCallbacks"; SwaggerUIBundlePlugin["Oas3ComponentsHttpAuth"] = "SwaggerUIBundle.plugins.Oas3ComponentsHttpAuth"; SwaggerUIBundlePlugin["Oas3ComponentsIndex"] = "SwaggerUIBundle.plugins.Oas3ComponentsIndex"; SwaggerUIBundlePlugin["Oas3ComponentsOperationLink"] = "SwaggerUIBundle.plugins.Oas3ComponentsOperationLink"; SwaggerUIBundlePlugin["Oas3ComponentsOperationServers"] = "SwaggerUIBundle.plugins.Oas3ComponentsOperationServers"; SwaggerUIBundlePlugin["Oas3ComponentsRequestBodyEditor"] = "SwaggerUIBundle.plugins.Oas3ComponentsRequestBodyEditor"; SwaggerUIBundlePlugin["Oas3ComponentsRequestBody"] = "SwaggerUIBundle.plugins.Oas3ComponentsRequestBody"; SwaggerUIBundlePlugin["Oas3ComponentsServersContainer"] = "SwaggerUIBundle.plugins.Oas3ComponentsServersContainer"; SwaggerUIBundlePlugin["Oas3ComponentsServers"] = "SwaggerUIBundle.plugins.Oas3ComponentsServers"; SwaggerUIBundlePlugin["Oas3Helpers"] = "SwaggerUIBundle.plugins.Oas3Helpers"; SwaggerUIBundlePlugin["Oas3Index"] = "SwaggerUIBundle.plugins.Oas3Index"; SwaggerUIBundlePlugin["Oas3Reducers"] = "SwaggerUIBundle.plugins.Oas3Reducers"; SwaggerUIBundlePlugin["Oas3Selectors"] = "SwaggerUIBundle.plugins.Oas3Selectors"; SwaggerUIBundlePlugin["Oas3SpecExtensionsSelectors"] = "SwaggerUIBundle.plugins.Oas3SpecExtensionsSelectors"; SwaggerUIBundlePlugin["Oas3SpecExtensionsWrapSelectors"] = "SwaggerUIBundle.plugins.Oas3SpecExtensionsWrapSelectors"; SwaggerUIBundlePlugin["Oas3WrapComponentsAuthItem"] = "SwaggerUIBundle.plugins.Oas3WrapComponentsAuthItem"; SwaggerUIBundlePlugin["Oas3WrapComponentsIndex"] = "SwaggerUIBundle.plugins.Oas3WrapComponentsIndex"; SwaggerUIBundlePlugin["Oas3WrapComponentsJsonSchemaString"] = "SwaggerUIBundle.plugins.Oas3WrapComponentsJsonSchemaString"; SwaggerUIBundlePlugin["Oas3WrapComponentsMarkdown"] = "SwaggerUIBundle.plugins.Oas3WrapComponentsMarkdown"; SwaggerUIBundlePlugin["Oas3WrapComponentsModel"] = "SwaggerUIBundle.plugins.Oas3WrapComponentsModel"; SwaggerUIBundlePlugin["Oas3WrapComponentsOnlineValidatorBadge"] = "SwaggerUIBundle.plugins.Oas3WrapComponentsOnlineValidatorBadge"; SwaggerUIBundlePlugin["Oas3WrapComponentsParameters"] = "SwaggerUIBundle.plugins.Oas3WrapComponentsParameters"; SwaggerUIBundlePlugin["Oas3WrapComponentsVersionStamp"] = "SwaggerUIBundle.plugins.Oas3WrapComponentsVersionStamp"; SwaggerUIBundlePlugin["OnCompleteIndex"] = "SwaggerUIBundle.plugins.OnCompleteIndex"; SwaggerUIBundlePlugin["SamplesFn"] = "SwaggerUIBundle.plugins.SamplesFn"; SwaggerUIBundlePlugin["SamplesIndex"] = "SwaggerUIBundle.plugins.SamplesIndex"; SwaggerUIBundlePlugin["SpecActions"] = "SwaggerUIBundle.plugins.SpecActions"; SwaggerUIBundlePlugin["SpecIndex"] = "SwaggerUIBundle.plugins.SpecIndex"; SwaggerUIBundlePlugin["SpecReducers"] = "SwaggerUIBundle.plugins.SpecReducers"; SwaggerUIBundlePlugin["SpecSelectors"] = "SwaggerUIBundle.plugins.SpecSelectors"; SwaggerUIBundlePlugin["SpecWrapActions"] = "SwaggerUIBundle.plugins.SpecWrapActions"; SwaggerUIBundlePlugin["SwaggerJsIndex"] = "SwaggerUIBundle.plugins.SwaggerJsIndex"; SwaggerUIBundlePlugin["UtilIndex"] = "SwaggerUIBundle.plugins.UtilIndex"; SwaggerUIBundlePlugin["ViewIndex"] = "SwaggerUIBundle.plugins.ViewIndex"; SwaggerUIBundlePlugin["ViewRootInjects"] = "SwaggerUIBundle.plugins.ViewRootInjects"; })(SwaggerUIBundlePlugin = exports.SwaggerUIBundlePlugin || (exports.SwaggerUIBundlePlugin = {}));