Open
Description
Hi guys i'm using the decorator @jwt_token() in my namespace therefore when i authenticate in the swagger the header does not shown in cUrl, and my response is 401,
i'm setting in Api() the authentication but the header is not sent
swagger = Api(
title='Ágil Web Documentação',
version='',
description='Api de Testes',
prefix='',
doc='/docs',
security='apiKey',
authorizations={
'apikey': {
'type': 'apiKey',
'in': 'header',
'name': 'Authorization',
'description': "Type in the *'Value'* input box below: **'Bearer <JWT>'**, where JWT is the token"
}
},
)
client_ns = Namespace('clients', description=Test', path='/',
decorators=[jwt_required()])