Closed RickEyre closed 5 years ago
defaults: { operations: { all: { 'responses[]': { 403: { description: 'Whoops, unauthorized.' } } } } }
I currently have this defined on my application level swagger config. The result is that it adds 'undefined' as a response in the swagger docs.
I see the defaults, so it's trying to merge them, but it's failing on adding the new response?
This ended up working instead...
defaults: { operations: { all: { 'responses.403.description': 'unauthorized' } } }
I currently have this defined on my application level swagger config. The result is that it adds 'undefined' as a response in the swagger docs.
I see the defaults, so it's trying to merge them, but it's failing on adding the new response?