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
For all API operations, we strip the OpenAPI tag from the actual operation ID to determine the method name; for example, app-get-app becomes client.app.getApp.
This works for all operations, EXCEPT the "SSH/SFTP USER" tag; operations using this tags have their ID starting with either sftp-user or ssh-user, but notsshsftp-user. This leads to clunky method names that are inconsistent with the rest of the client:
For all API operations, we strip the OpenAPI tag from the actual operation ID to determine the method name; for example,
app-get-app
becomesclient.app.getApp
.This works for all operations, EXCEPT the "SSH/SFTP USER" tag; operations using this tags have their ID starting with either
sftp-user
orssh-user
, but notsshsftp-user
. This leads to clunky method names that are inconsistent with the rest of the client:api-client-js/packages/mittwald/src/generated/v2/client.ts
Lines 1117 to 1125 in 937dcd4
This could probably be easily fixed by adding a few substitution rules in the client generation; however, this would constitute a breaking change.
The text was updated successfully, but these errors were encountered: