Mocking with dynamic response generation returns attributes randomly ordered #1911
-
Hey, we try to use prism for testing our frontend code with querying the mock api. We make use of faker and the dynamic response generation. I was just wondering if it is possible to return the attributes in the order they are defined in the model. A response currently looks like this: The attributes are here and there, randomly provided. Would be good to make the response in order so we can see at a glance on the response when something is wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I just discovered that additional properties has caused the random order in the response #1776 The properties are in order of the schema definition, when I don't allow additional properties. |
Beta Was this translation helpful? Give feedback.
I just discovered that additional properties has caused the random order in the response #1776
The properties are in order of the schema definition, when I don't allow additional properties.