cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
Visitor

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.

 

 

1 REPLY 1
Highlighted
Moderator

Re: Structural error at paths./.post.responses.200.schema should NOT have additional properties addi

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


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors