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

Array of anyOf items error

ondratu opened this issue · comments

Hi, I have this part of schema:

content:
  application/json:
    schema:
      type: object
      properties:
        args:
          type: array
          items:
            anyOf:
              - type: string
              - type: number
              - type: float
              - type: boolean

which is valid, but pycharm plugin tell's me missing $ref property
Snímek z 2020-04-20 13-00-47

It is ok, resp. the validation error is not perfect, but the problem is in type: float, which is my mistake.