Mark field as required in swagger docs

This commit is contained in:
Inex Code 2022-02-02 14:51:48 +02:00
parent 6fbfee5b1b
commit 2ec9c8a441

View file

@ -57,6 +57,7 @@ class Tokens(Resource):
token:
type: string
description: Token name to delete
required: true
responses:
200:
description: Token deleted