-
As the documentation correctly states:
in The workaround is to first generate the Is this because It would be good to have support for Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That is the reason. It is more complex in structure and would produce a macro definition that is not necessarily fun to write. Though this could be worked through to streamline it. Moreover security schema might be something that is going to be applied conditionally thus macro attribute would not make sense in such a case. Or it might include some fields that should be defined in some config file and currently Sure support for this could be added in future. PR:s are always welcome. 🙂 |
Beta Was this translation helpful? Give feedback.
That is the reason. It is more complex in structure and would produce a macro definition that is not necessarily fun to write. Though this could be worked through to streamline it. Moreover security schema might be something that is going to be applied conditionally thus macro attribute would not make sense in such a case. Or it might include some fields that should be defined in some config file and currently
OpenApi
and other derive macros allow literal…