You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
operationId is an optional unique string used to identify an operation. If provided, these IDs must be unique among all operations described in your API.
When inspecting the Storefront swagger.json it seems the operationIds that has duplicates is
post
patch
delete
get
getV2
Umbraco Commerce version:
Umbraco.Commerce 14.0
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. We have learned a lot since creating the Storefront API where this wasn't originally taken into account. Given this would be considered a breaking change however, we will only be able to address this in v15. I believe this should already be resolved in the v15 codebase, but I'll leave this open until we make a release.
Describe the bug
I was generating TypeScript models with the Storefront Swagger JSON and got this error:
And looking at the Swagger docs this is also documented at https://swagger.io/docs/specification/paths-and-operations/
When inspecting the Storefront swagger.json it seems the operationIds that has duplicates is
Umbraco Commerce version:
Umbraco.Commerce 14.0
The text was updated successfully, but these errors were encountered: