Page 1 of 1

JSON to YAML Conversion

Posted: Fri Dec 16, 2022 12:08 am
by michaelgrudgings
When I convert a json in Oxygen it sets variables at column 5. But when I convert it in Swagger editor, it sets them at 7? Does anyone know why?

Oxygen:

Code: Select all

  InformationCategory:
    type: string
    enum:
    - Error
    - OK
    - Warning
Swagger:

Code: Select all

 InformationCategory:
    type: string
    enum:
      - Error
      - OK
      - Warning
image.png