Replies: 1 comment 5 replies
-
Update: As far as I can see it is also impossible to do this via an extension. Maybe @romalytvynenko knows more about this. I am definitely out of ideas. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am currently trying to document custom response classes.
For the response data I have the following class:
I return
new JsonResponse($data->toArray())
in my controller.NestedId
itself looks like this:I wrote a custom extension which adds the uuid format to the
nestedId
property. However, I would like to get rid of the/** @var NestedId $id */
. When I do this it says that it is only of typestring
in the OpenAPI and nothing about the format. What steps do I have to take to have this still? Thank you in advance.Beta Was this translation helpful? Give feedback.
All reactions