I have a similar error to Swagger Schema error should NOT have additional properties, but in my case I'm referencing #/definitions so I'd appreciate some help.
I tried making an explicit object:
responses: '200': content: application/json schema: type: object properties: id: integer
and that gives me:
Schema error at paths['/user'].post.responses['200']
should NOT have additional properties
additionalProperty: content, schema
Jump to line 119
I also tried:
responses: '200': $ref: '#/definitions/UserCreateResponse'
and that gets me:
Semantic error at paths./user.post.responses.200.$ref
200 $refs cannot match any of the following: "#/definitions", "#/parameters"
Jump to line 120
The object shows up as desired if I use the $ref, but the error persists in the editor.