nextcloud / openapi-extractor

A tool for extracting OpenAPI specifications from Nextcloud source code
https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-openapi.html
GNU Affero General Public License v3.0
6 stars 2 forks source link

Fix request body usage for GET/HEAD/DELETE requests #148

Closed provokateurin closed 1 month ago

provokateurin commented 1 month ago

Fixes https://github.com/nextcloud/openapi-extractor/issues/144

The undefined serialization behavior warning can probably be fixed by implementing the deepObject serialization style (as described in https://swagger.io/docs/specification/serialization), but it needs a lot more investigation and refactoring that is out of scope for this partial revert to fix the current mess.

provokateurin commented 1 month ago

With so many parameters (and some with the same types) I don't ever want to rely on the order of the parameters :D