Surnet / swagger-jsdoc

Generates swagger/openapi specification based on jsDoc comments and YAML files.
MIT License
1.69k stars 228 forks source link

editor.swagger.io gives error #334

Closed m0x61h0x64i closed 1 year ago

m0x61h0x64i commented 1 year ago

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>'   
    },
    }
  3. See error

Expected behavior no error.

Desktop (please complete the following information):

daniloab commented 1 year ago

looks like there is a problem with your yaml structure

try to open an issue in the official swagger repo