Option to manually provide type for requests #563
manuel-watchenterprise
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Current output of {
"type": "object",
"additionalProperties": {
"type": "string"
}
} IMHO it would be better to omit {
"type": "object",
"additionalProperties": {}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It might not be a big work to check for
@request
tag as it is already implemented for@response
and provide option for devs to manually define the request object type. I understand this is not the most common case to use, however, there are some exceptional situations when it comes handy.->sometimes()
calls, or havingif
s inside the->rules()
method)additionalProperties
)Something like
Beta Was this translation helpful? Give feedback.
All reactions