There should be a way to configure custom (not 200) status code in response like in flask-restplus:
from flask_restplus import Namespace
ns = Namespace('Wallet')
...
@ns.response(201, 'Wallet created')
...
@ns.response(404, 'Wallet not found')
something like:
@doc.response(404, 'Wallet not found')
There should be a way to configure custom (not 200) status code in response like in flask-restplus: from flask_restplus import Namespace ns = Namespace('Wallet') ... @ns.response(201, 'Wallet created') ... @ns.response(404, 'Wallet not found')
something like: @doc.response(404, 'Wallet not found')