Scott M. M. Jackson

Results 57 comments of Scott M. M. Jackson

See #130 for some work on this.

Here's a sample of the new look: ![screen shot 2018-12-17 at 11 28 04 am](https://user-images.githubusercontent.com/1735264/50100608-e659cd80-01ee-11e9-96fd-60c8b980c5a0.png)

Hey @mjdescy - could we get a merge and a new release? I love this application and just want it not to be the brightest thing on my screen. Thank...

#3 was merged, closing this unless the issue persists.

#17795 and #17368 are likely fixed by this change

@jacob-pro I can definitely add some tests. #17795 is the issue this comes from, where escaping reserved words is not working. This is probably because the abstract code you cited...

Been playing around with moving this to an override and it's proving kinda difficult. It seems like we have a variety of context-specific prefixes we're using, and `escapeReservedWord` doesn't know...

Full run output ``` [main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false [main] INFO o.o.c.ignore.CodegenIgnoreProcessor - No .openapi-generator-ignore file found. [main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: rust (client) [main] INFO o.o.codegen.DefaultGenerator...

Issue persists when I change the command line to: ``` openapi-generator-cli generate -i ~/Downloads/swagger.v3.txt -g rust -o ./ --reserved-words-mappings ref=refx ```

Per https://github.com/OpenAPITools/openapi-generator/issues/17368#issuecomment-1857179715 this is probably the same issue, the rust generator does not override the `escapeReservedWord` method.