Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid character. SearchResult«Share» #86

Closed
elie222 opened this issue Oct 29, 2019 · 4 comments
Closed

Invalid character. SearchResult«Share» #86

elie222 opened this issue Oct 29, 2019 · 4 comments

Comments

@elie222
Copy link

elie222 commented Oct 29, 2019

The » character is causing me problems with this package:

The error message looks like:

Invalid character. (65:30)

export interface SearchResult«Share» {

Seems like the Typescript doesn't like the » symbol.

@elie222
Copy link
Author

elie222 commented Oct 29, 2019

After I replace those characters with __, the generation works fine.

@drwpow
Copy link
Owner

drwpow commented Jan 2, 2020

@elie222 yes TypeScript doesn’t allow ». How are you using it in Swagger? And why that character? We could possibly add support if I got a usage example of both your Swagger definition and the TypeScript code you’d like it to output.

@elie222
Copy link
Author

elie222 commented Jan 2, 2020 via email

@drwpow
Copy link
Owner

drwpow commented Jan 2, 2020

OK. I’m going to close the issue then but if you ever run across another weird character, just provide a snippet of the Swagger definition, and what TypeScript code you’d like it to generate, and I’d be happy to re-open this issue.

@drwpow drwpow closed this as completed Jan 2, 2020
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

No branches or pull requests

2 participants