rspec_api_documentation icon indicating copy to clipboard operation
rspec_api_documentation copied to clipboard

Fix (open api writer): Allow to use same parameter name in different scopes

Open StanisLove opened this issue 5 years ago • 0 comments

I faced with a problem that I can't use the same parameter name in different scopes. For example

parameter :name, 'Player 1 name', scope: [:data, :player1]
parameter :name, 'Player 2 name', scope: [:data, :player2]

gives you only the first parameter in the result open api json.

This PR fixes this issue.

StanisLove avatar Nov 27 '20 06:11 StanisLove