Connexion: Invalid Specification Error

Created on 20 Feb 2019  路  1Comment  路  Source: zalando/connexion

application/json is not of type 'array'

Someone help me out........Thanks in advance

raise InvalidSpecification.create_from(e)

connexion.exceptions.InvalidSpecification: '-"application/json"' is not of type 'array'

Failed validating 'type' in schema['properties']['produces']['allOf'][0]:
{'items': {'$ref': '#/definitions/mimeType'},
'type': 'array',
'uniqueItems': True}

On instance['produces']:
'-"application/json"'

question

Most helpful comment

Hey @Rev0kz - You can use this online editor to check for schema errors: https://editor.swagger.io/
Good luck.

>All comments

Hey @Rev0kz - You can use this online editor to check for schema errors: https://editor.swagger.io/
Good luck.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vimalloc picture vimalloc  路  3Comments

bioslikk picture bioslikk  路  4Comments

micmarty picture micmarty  路  3Comments

sharkguto picture sharkguto  路  5Comments

majoros picture majoros  路  5Comments