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
7 stars 2 forks source link

fix: Ensure operationIds are unique #114

Closed provokateurin closed 7 months ago

provokateurin commented 7 months ago

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

Tags are not longer used for the operationId because it is possible to tag two controller methods with the same names in two different controllers with the same tag and the output would be the same operationId. Talk is currently affected by this problem. The failure results in a panic and can not be skipped because the result would be an invalid spec. The CI for Talk will fail because it currently has a controller method with two routes that are not unique.

nickvergessen commented 7 months ago

Still kind of meh