-
Notifications
You must be signed in to change notification settings - Fork 63
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
An/multi create fix #256
base: master
Are you sure you want to change the base?
An/multi create fix #256
Conversation
Hi @AshotN, the error you are describing needs not to be fixed in the generator class, there I think all is correct. The reason that there is no feathers-swagger/lib/v3/generator.js Lines 218 to 241 in 0bfe44b
To fix the problem you have, the ref for I think a Give me a hint if you want to work on it, otherwise I could also look into it. |
fix: multi patch
Summary
feathers-swagger would handle
multi: ['create']
by using the base schema type. Which would be not ideal if you have a more narrow create schema. This PR is my attempt at correcting that.Other Information
Would appreciate letting me know if anything here could use fixes.
My other PR is in here as well, I can remove it if needed. Ideally both can be merged together here.