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
There can be situations where a group of parameters is needed for multiple operations. Currently you can reuse the definitions by enumerating them by using the $ref construct.
but you would need to duplicate the same enumeration across all the operations where the same parameter group is required.
A possible solution would be to allow the parameters element to be able to point to another JSON element that contain the parameters enumeration, for instance one operation can declare that its parameters are just the same as another operation, see below
Rationale:
There can be situations where a group of parameters is needed for multiple operations. Currently you can reuse the definitions by enumerating them by using the $ref construct.
but you would need to duplicate the same enumeration across all the operations where the same parameter group is required.
A possible solution would be to allow the parameters element to be able to point to another JSON element that contain the parameters enumeration, for instance one operation can declare that its parameters are just the same as another operation, see below
The text was updated successfully, but these errors were encountered: