mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-11 11:43:56 +00:00
644d7a278a
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> |
||
---|---|---|
.. | ||
api | ||
authors | ||
errors | ||
groups | ||
history | ||
logger | ||
media | ||
monitoring | ||
notes | ||
permissions | ||
revisions | ||
users | ||
app.module.ts | ||
main.ts |