creads / api2symfony

NOT MAINTAINED ANYMORE - PHP library to automatically generate Symfony2 controllers from API specifications (RAML, Blueprint, Swagger...)
MIT License
13 stars 4 forks source link

Duplicate parameter name in action #12

Open qpautrat opened 9 years ago

qpautrat commented 9 years ago

Considering following example /users/{gid}/posts/{gid} In my opinion we have to prevent this use case. It generate a fatal error.

So the question are, must we inform user ? Must we interrupt mockup generation ? Or must we generate another parameter name ?