Pode
Pode copied to clipboard
OpenAPI Json output is randomly ordered
The created json file is randomly ordered. there is no order inside the file and make it difficult to read.
The issue is due to the cmdlet Remove-PodeNullKeysFromHashtable that doesn't work with ordered hash tables.
A solution is to remove the need of Remove-PodeNullKeysFromHashtable avoiding creating empty properties.