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
Currently, the ParameterDescriptor does not allow an optional() descriptor. This makes it difficulty to document parameters that are not required, and do not exist in the current example. The ParameterDescriptor should be able to be declared optional.
The text was updated successfully, but these errors were encountered:
I thought this was going to be annoyingly hard to change due to the ParameterDescriptor being shared between path parameters and request parameters as optional path parameters seemed a bit strange. However, it would appear that JAX-RS supports them so it makes sense for REST Docs to be able to document them as I don't want REST Docs to restrict people's API design unnecessarily, however strange I think it may be.
Currently, the
ParameterDescriptor
does not allow anoptional()
descriptor. This makes it difficulty to document parameters that are not required, and do not exist in the current example. TheParameterDescriptor
should be able to be declared optional.The text was updated successfully, but these errors were encountered: