Skip to content

Commit

Permalink
feat(api): added server names to swagger documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jandvanegas committed May 16, 2022
1 parent 673c8dd commit 586ecea
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions api/tsoa.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
{
"entryFile": "app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/**/*controller.ts"],
"controllerPathGlobs": [
"src/**/*controller.ts"
],
"spec": {
"outputDirectory": "build",
"specVersion": 3
"specVersion": 3,
"spec": {
"servers": [
{
"url": "https://hkrecruitment-dev-environment.herokuapp.com/",
"description": "Dev environment"
}
]
}
},
"routes": {
"middleware": "express",
Expand Down

0 comments on commit 586ecea

Please sign in to comment.