API-35: More swagger stuff
This commit is contained in:
parent
c18b84e9ff
commit
b3abeaa264
2
app.ts
2
app.ts
|
@ -37,7 +37,7 @@ app.use(
|
|||
swaggerUi.serve,
|
||||
swaggerUi.setup(undefined, {
|
||||
swaggerOptions: {
|
||||
url: '/public/swagger.json'
|
||||
url: '/swagger.json'
|
||||
}
|
||||
})
|
||||
);
|
||||
|
|
26
swagger.json
Normal file
26
swagger.json
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"components": {
|
||||
"examples": {},
|
||||
"headers": {},
|
||||
"parameters": {},
|
||||
"requestBodies": {},
|
||||
"responses": {},
|
||||
"schemas": {},
|
||||
"securitySchemes": {}
|
||||
},
|
||||
"info": {
|
||||
"title": "plutodev_express_api",
|
||||
"version": "1.0.0",
|
||||
"license": {
|
||||
"name": "ISC"
|
||||
},
|
||||
"contact": {}
|
||||
},
|
||||
"openapi": "3.0.0",
|
||||
"paths": {},
|
||||
"servers": [
|
||||
{
|
||||
"url": "/"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user