Isn't this more a limitation of the OpenAPI spec? Something like GraphQL would probably work much better