Skip to content

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

Open
StanisLove wants to merge 2 commits intozipmark:masterfrom
StanisLove:many-scopes-with-same-params
Open

Fix (open api writer): Allow to use same parameter name in different scopes#487
StanisLove wants to merge 2 commits intozipmark:masterfrom
StanisLove:many-scopes-with-same-params

Conversation

@StanisLove
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant