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
We have two endpoints with the same name: changeUserPassword (user facing) and changeUserPassword (management only, different payload), the generated API only has one ChangeUserPasswordData without an id parameter:
@danilofuchs this is because of the duplicate operationId in your OpenAPI specification. From Swagger docs
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
Assuming you have control over your spec, this should be fixed on the API side
Description
We have two endpoints with the same name:
changeUserPassword
(user facing) andchangeUserPassword
(management only, different payload), the generated API only has oneChangeUserPasswordData
without anid
parameter:#538 should have fixed this
@hey-api/openapi-ts 0.43.2
OpenAPI specification (optional)
The management endpoint has an
id
parameterConfiguration
openapi-ts -i https://test.com/openapi.json -o src/server/test-api --name TestApi --client fetch --format prettier
System information (optional)
No response
The text was updated successfully, but these errors were encountered: