zalando / intellij-swagger

A plugin to help you easily edit Swagger and OpenAPI specification files inside IntelliJ IDEA

Home Page:https://plugins.jetbrains.com/plugin/8347

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2019.2 Schema Validation Error

jjanusch opened this issue · comments

As of 2019.2, all requestBody and parameters objects nested in Path objects are highlighted with the same error:

Screen Shot 2019-07-29 at 1 33 35 PM

A $ref is not required in any object type as far as I am aware and is not applicable in this case where the entire object is just stored inline. This behaved properly in 2019.1.x

Not sure if this is the same error or different than what i'm seeing:

image

Seems like the same issue to me, though. I'm on WebStorm 2020.1 Beta

if I change the in: path to in: query the warning goes away :/