Replies: 6 comments 3 replies
-
|
@sNok3 please share the example of your code and resulting docs. Also would be great to understand what your expected |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
@sNok3 ooh, gotcha. So basically you want to annotate the model fields with descriptions and examples? Currently this is not supported. You can use API resources and there you can add the descriptions. However, I'll keep this issue open to add this possibility in future. |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, that is exactly what I needed. However, using API resources in the controller method isn't really my way to go for now since I have a big codebase. However, I'll gladly wait for this to get implemented! |
Beta Was this translation helpful? Give feedback.
-
|
At least type and description could be fetched from the |
Beta Was this translation helpful? Give feedback.
-
|
@chrisvanlier2005 as far as I remember, you've tried implementing |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
As the title suggests, when generating the docs for a controller which has model binding, the schema for the model will result in just the fields that the model has, without the annotations it has.
Beta Was this translation helpful? Give feedback.
All reactions