Surnet / swagger-jsdoc

Generates swagger/openapi specification based on jsDoc comments and YAML files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

editor.swagger.io gives error

m0x61h0x64i opened this issue · comments

Describe the bug

image

image

To Reproduce
Steps to reproduce the behavior:

  1. Go to editor.swagger.io
  2. paste the following code :
{
  openapi: '3.0.1',
  info: {
    title: 'APIs',
    version: '3.3.6',
    
    
    description: "<center>added 'x'</center>\n" +
      '            <center>added</center>'   
  },
}
  1. See error

Expected behavior
no error.

Desktop (please complete the following information):

  • OS: Windows x64
  • Browser chrome Version 106.0.5249.119 (Official Build) (64-bit)

looks like there is a problem with your yaml structure

try to open an issue in the official swagger repo