Trello REST API has some validation errors, which prevents me using it without manually fixing the errors. This is the file I am using, which is latests on documentation page https://dac-static.atlassian.com/cloud/trello/swagger.v3.json?_v=1.573.0
First is from codegen, second screenshot is from swagger hub.
Hi Team,
It seems that you're facing two issues:
This error means the idCard parameter is likely referenced in the path (for example, /cards/{idCard}) but isn't properly defined as a path parameter in the parameters section of the corresponding path or operation.
Solution: Locate the path or operation that uses idCard. In its parameters section, ensure there's an entry for idCard with in: "path".
https://stackoverflow.com/questions/27155516/swaggerissue-with-path-parameter
This indicates that you have at least two operations (likely different HTTP methods like GET or POST) within the same path that share the same operationId. operationId is used by code generators to create method names, so they must be unique.
Solution: Find the operations reported with duplicate operationIds. Give each operation a distinct operationId. For example, if you have two GET requests under /cards/{idCard}, you could have operationIds like getCard and getCardAttachments. https://stackoverflow.com/questions/43878653/cannot-have-multiple-operations-with-the-same-operationid-clearcache
I'm unfamiliar with Swagger, so I'm sorry if the suggestion isn't accurate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.