Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

Treat - character correctly #97

Open
i-am-the-slime opened this issue Mar 10, 2016 · 2 comments
Open

Treat - character correctly #97

i-am-the-slime opened this issue Mar 10, 2016 · 2 comments
Labels

Comments

@i-am-the-slime
Copy link

- seems to be a valid identifier in a swagger file.
The generated Scala code should replace these in scala code or wrap the entire things in backticks.

@slavaschmidt
Copy link
Contributor

We do. Play can't deal with that in t's route files.

@slavaschmidt
Copy link
Contributor

Ok, may be it's possible to replace "-" with "-", but what is with other possible characters? Like ":" for example. Would be valid in swagger spec as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants