Forum Discussion

aayushag85's avatar
aayushag85
Visitor
6 years ago

Structural error at paths./.post.responses.200.schema should NOT have additional properties addition

Previously my YAML file was swagger complaint. Suddenly swagger started complaining about the type property under schema in response. While same type property is perfectly fine with swagger under schema in parameters.

 

Any one have any idea.

 

 

  • You cannot add additional properties alongside a $ref. It needs to be either the $ref only, or a full schema.