arjun-g / vs-swagger-viewer

Swagger Viewer lets you preview and validate Swagger 2.0 and OpenAPI files as you type in Visual Studio Code.
MIT License
170 stars 47 forks source link

Stopped working in version 2.2.1 #58

Closed goodoldneon closed 4 years ago

goodoldneon commented 5 years ago

A white page is displayed when using 2.2.1, but 2.2.0 still works.

swagger: "2.0"
paths:
  /api/trash/{id}/children:
    delete:
      summary: Empty trash
      tags: [trash]
      parameters:
        - name: id
          in: path
          required: true
          type: string
          description: Trash entity id
      responses:
        200:
          description: "Success"
        403:
          $ref: "#/responses/AuthorizationFailed"
        404:
          $ref: "#/responses/NotFoundError"
tags:
  - name: trash
    description: Trash APIs
responses:
  AuthorizationFailed:
    description: Authorization failed
  NotFoundError:
    description: Not found