phoenix_swagger
phoenix_swagger copied to clipboard
Enforce field order
Is there a way to enforce field order? It would be better for readability than current random order:

I think it could be possible if we change PhoenixSwagger.Schema.properties from a regular map type to some kind of order-preserving map type which implements Access behaviour and Poison.Encode protocol.
@mbuhot That would be great - we're already getting questions about the field order from our API users