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
Please consider adding support for readOnly and writeOnly.
I still haven't found any generator that supports this with axios, i really like your generator!
I made a postScript in python that works for some cases but not with others (can share it if help).
What is readOnly and writeOnly?
In OAS specification an readOnly attribute is an attribute that do not appear on request body.
So you should Omit<> them or do not put them in Post and Put interfaces.
In OAS specification an writeOnly attribute is an attribute that do not appear on response body.
So you should Omit<> them or do not put them in GET, DELETE... Interfaces
This will help us backender spare a lot of lines of code in our models definition =)
Thanks for your time!
The text was updated successfully, but these errors were encountered:
Please consider adding support for readOnly and writeOnly.
I still haven't found any generator that supports this with axios, i really like your generator!
I made a postScript in python that works for some cases but not with others (can share it if help).
What is readOnly and writeOnly?
In OAS specification an readOnly attribute is an attribute that do not appear on request body.
So you should Omit<> them or do not put them in Post and Put interfaces.
In OAS specification an writeOnly attribute is an attribute that do not appear on response body.
So you should Omit<> them or do not put them in GET, DELETE... Interfaces
This will help us backender spare a lot of lines of code in our models definition =)
Thanks for your time!
The text was updated successfully, but these errors were encountered: