hedgedoc/src
David Mehren 644d7a278a
MarkdownBody: Register swagger metadata
As explained in https://github.com/nestjs/swagger/issues/32#issuecomment-716169471, it's possible to register swagger metadata in custom decorators by providing an array of `enhancers`.
We now add metadata with the `MarkdownBody` decorator: The request needs a `body` with content-type `text/markdown`.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-10 19:21:19 +01:00
..
api MarkdownBody: Register swagger metadata 2021-01-10 19:21:19 +01:00
authors Change year in copyright to 2021 2021-01-06 22:10:19 +01:00
errors Change year in copyright to 2021 2021-01-06 22:10:19 +01:00
groups Change year in copyright to 2021 2021-01-06 22:10:19 +01:00
history Change year in copyright to 2021 2021-01-06 22:10:19 +01:00
logger Change year in copyright to 2021 2021-01-06 22:10:19 +01:00
media Format with Prettier 2 2021-01-06 23:49:45 +01:00
monitoring Format with Prettier 2 2021-01-06 23:49:45 +01:00
notes Format with Prettier 2 2021-01-06 23:49:45 +01:00
permissions Format with Prettier 2 2021-01-06 23:49:45 +01:00
revisions Format with Prettier 2 2021-01-06 23:49:45 +01:00
users Format with Prettier 2 2021-01-06 23:49:45 +01:00
app.module.ts Change year in copyright to 2021 2021-01-06 22:10:19 +01:00
main.ts Change year in copyright to 2021 2021-01-06 22:10:19 +01:00