We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug api file:
type XXXReq { Phone string `form:"phone,optional"` }
shell cmd: goctl api ts …… generated ts file:
goctl api ts ……
export interface XXXReqParams { phone: string }
Expected behavior Should generate ts file as follow:
export interface XXXReqParams { phone?: string }
Screenshots If applicable, add screenshots to help explain your problem.
Environments (please complete the following information):
More description
The text was updated successfully, but these errors were encountered:
the same to you , wait for the answer
Sorry, something went wrong.
use goctl 1.4.0
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
This issue is stale because it has been open for 30 days with no activity.
No branches or pull requests
Describe the bug
api file:
shell cmd:
goctl api ts ……
generated ts file:
Expected behavior
Should generate ts file as follow:
Screenshots
If applicable, add screenshots to help explain your problem.
Environments (please complete the following information):
More description
The text was updated successfully, but these errors were encountered: