go-swagger3 icon indicating copy to clipboard operation
go-swagger3 copied to clipboard

Generated yaml file is not ordered as normally open-api swagger yaml file.

Open denyssydorenko opened this issue 4 months ago • 0 comments

What I mean is that when generating the swagger yaml file normally it follows the next structure provided by Swagger Editor, you can follow the Load PetStore OAS 3.0 example:

  • openapi: 3.0.0
  • info
  • externalDocs
  • servers
  • tags
  • path
  • components

The structure that I obtained when generating the yaml file follows:

  • components
  • info
  • openapi: 3.0.0
  • path
  • servers

It will be helpful to update it as the Swagger Editor suggests.

denyssydorenko avatar Feb 08 '24 13:02 denyssydorenko