-
-
Notifications
You must be signed in to change notification settings - Fork 395
Generate request params as particular type #233
New issue
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
Comments
Merged
Next release will have |
Thanks @js2me But seems like this feature doesn't use prefix. Command:
Generated file contains correct declaration with prefix needed (
but lines below are looking for
|
Checked it with recent version and it works like a charm. Thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I'm using this command for generate
npx swagger-typescript-api -p public/swagger/v2.json -o ./assets/v2/src/api -n apiClient.ts --type-prefix=T
and I have this route in generated output.
Is it possible to have particular interface with request type, e.g.
Tried
--extract-request-params
and--route-types
but no luckThe text was updated successfully, but these errors were encountered: