mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 03:58:02 -05:00
f3d1644f95
NestJS can automatically generate an OpenAPI spec by analyzing controllers and used DTOs. This commit enables this feature. The API docs are served under /apidoc. Signed-off-by: David Mehren <git@herrmehren.de>
7 lines
134 B
JSON
7 lines
134 B
JSON
{
|
|
"collection": "@nestjs/schematics",
|
|
"sourceRoot": "src",
|
|
"compilerOptions": {
|
|
"plugins": ["@nestjs/swagger/plugin"]
|
|
}
|
|
}
|