go-swagger3
go-swagger3 copied to clipboard
Generated yaml file is not ordered as normally open-api swagger yaml file.
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.