In our project, we keep the swagger.json file under version control (so we can build backend and frontend independently).
Observed behaviour:
On different machines, and when implementing changes, the swagger.json files has changes in the ordering of some items:
for example different status codes for a route are ordered differently
Desired behaviour:
The JSON structure is always the same, independent of machine and changes which do not alter the logical (object) structure of the swagger specification.
In our project, we keep the swagger.json file under version control (so we can build backend and frontend independently).
Observed behaviour:
On different machines, and when implementing changes, the swagger.json files has changes in the ordering of some items:
Desired behaviour:
The JSON structure is always the same, independent of machine and changes which do not alter the logical (object) structure of the swagger specification.