mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-24 02:32:39 +00:00
1906f44e74
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"]
|
|
}
|
|
}
|