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

Client name setting #59

Closed
maxkisung opened this issue Sep 26, 2019 · 7 comments
Closed

Client name setting #59

maxkisung opened this issue Sep 26, 2019 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@maxkisung
Copy link

it would be nice if the client name could be generated from the same name as the swagger file instead of from the swagger doc title.

for instance, i would name the swagger file FooClient and it would generate a FooClient.cs which would be same name as the class.

@christianhelle christianhelle added the enhancement New feature or request label Sep 26, 2019
@christianhelle christianhelle self-assigned this Sep 26, 2019
@christianhelle
Copy link
Owner

First of all, thanks for the input!

I would prefer to keep the swagger doc title but I could introduce a option called "Use OpenAPI Document Title" with a default value of TRUE, and when set to false will use the swagger file name, or something like that...

What do you think?

@maxkisung
Copy link
Author

Perfect!!

@christianhelle
Copy link
Owner

Cool! I'll try to build this over the weekend

@unchase
Copy link

unchase commented Sep 27, 2019

@maxkisung you can use Unchase OpenAPI (Swagger) Connected Service with more customization.

Adding Unchase OpenAPI (Swagger) Connected Service in Visual Studio

Read How-To on medium.com

@christianhelle
Copy link
Owner

@maxkisung I started implementing this and created issue #61 for specifying an options page for AutoRest

@christianhelle
Copy link
Owner

Hi @maxkisung

I'm sorry for all the delays. I haven't been working in Windows since the first of October due to a gig change but I finally got myself a proper Windows machine again and I'll finish this up soon. I already implemented the feature a few weeks ago but I haven't been able to test it thoroughly yet

I'll close this issue as soon as I publish the update to the marketplace

@christianhelle
Copy link
Owner

This is now published the the marketplace as version 1.1.708

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants