Add HTML note in README, tweak swagger def

This commit is contained in:
Piero Toffanin 2021-09-11 16:02:10 -04:00
parent 0a7c8ebae9
commit a41f5671b0
2 changed files with 37 additions and 3 deletions

View file

@ -267,9 +267,14 @@ def create_app(args):
name: format
schema:
type: string
example: html or text
enum: [text, html]
default: text
example: text
required: false
description: The format of the source text
description: >
Format of source text:
* `text` - Plain text
* `html` - HTML markup
- in: formData
name: api_key
schema: