You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ordering of endpoints and other elements seem to be lost here and there when generating the OpenAPI document. For example, even though it's specified like this:
The text/csv entry always appears as first element of the object, even though it's defined as the last. This is because:
jsonb does not preserve white space, does not preserve the order of object keys, and does not keep duplicate object keys. Source
A solution would be to use json instead of jsonb with the drawback of losing the ability to use some operations like concatenation || that is heavily used.
The text was updated successfully, but these errors were encountered:
The ordering of endpoints and other elements seem to be lost here and there when generating the OpenAPI document. For example, even though it's specified like this:
postgrest-openapi/sql/components.sql
Lines 544 to 567 in e0bc07c
The
text/csv
entry always appears as first element of the object, even though it's defined as the last. This is because:A solution would be to use
json
instead ofjsonb
with the drawback of losing the ability to use some operations like concatenation||
that is heavily used.The text was updated successfully, but these errors were encountered: