hedgedoc/src/api
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
..
public NotesController: Do not crash on nonexistent notes 2021-01-09 22:58:16 +01:00
utils MarkdownBody: Register swagger metadata 2021-01-10 19:21:19 +01:00