cancel
Showing results for 
Search instead for 
Did you mean: 

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

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
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.

New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2
Top Kudoed Authors