agrestio / agrest

Server-side Java REST Framework for easy access to data graphs from various backends
https://agrest.io
Apache License 2.0
81 stars 34 forks source link

OpenAPI: properties must be sorted in same order as responses #611

Closed andrus closed 1 year ago

andrus commented 1 year ago

In Entity and EntityUpdate OpenAPI descriptors we must follow the order of properties used in responses. Namely, "id" goes first, and a mix of attributes and relationships follows.