swagger-codegen-ts icon indicating copy to clipboard operation
swagger-codegen-ts copied to clipboard

how about use x-name or something for generated name?

Open scink opened this issue 4 years ago • 5 comments

Screenshot 2020-03-17 at 19 30 25 how about use x-name or something for generated name?

scink avatar Mar 17 '20 16:03 scink

When I was working on AsyncAPI support I didn't find anything else except full path because of some reasons (don't remember). Perhaps because of name clashes.

raveclassic avatar Mar 17 '20 16:03 raveclassic

is there any way to set the name? i mean, does async api has something that can be used?

scink avatar Mar 17 '20 17:03 scink

looks like, only using Specification Extensions, like x-name or something

scink avatar Mar 17 '20 17:03 scink

any new thoughts about this?

scink avatar Jun 23 '20 07:06 scink

There's no support for spec extensions at the moment, and I suppose there will never be in the core. It's too specific. OTOH we could think about comprehensive plugin system which would allow any kind of extra feature without complicating the core.

raveclassic avatar Jun 23 '20 20:06 raveclassic