Compare commits

..

No commits in common. "3ac150331ac5c2db2bc73f8ac92e8e86983b9a2f" and "e5b605cc55715e92885ddb1fefe930b79449c430" have entirely different histories.

View File

@ -1,8 +1,8 @@
import { validationMetadatasToSchemas } from "class-validator-jsonschema";
import { Application } from "express"; import { Application } from "express";
import * as swaggerUiExpress from "swagger-ui-express";
import { getMetadataArgsStorage } from "routing-controllers"; import { getMetadataArgsStorage } from "routing-controllers";
import { routingControllersToSpec } from "routing-controllers-openapi"; import { routingControllersToSpec } from "routing-controllers-openapi";
import * as swaggerUiExpress from "swagger-ui-express"; import { validationMetadatasToSchemas } from "class-validator-jsonschema";
export default async (app: Application) => { export default async (app: Application) => {
const storage = getMetadataArgsStorage(); const storage = getMetadataArgsStorage();
@ -17,13 +17,6 @@ export default async (app: Application) => {
{ {
components: { components: {
schemas, schemas,
"securitySchemes": {
"AuthToken": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
}
}, },
info: { info: {
description: "The the backend API for the LfK! runner system.", description: "The the backend API for the LfK! runner system.",