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

[ASPNETCORE Server] OperationID casing is modified #7116

Closed
knom opened this issue Dec 5, 2017 · 4 comments
Closed

[ASPNETCORE Server] OperationID casing is modified #7116

knom opened this issue Dec 5, 2017 · 4 comments

Comments

@knom
Copy link
Contributor

knom commented Dec 5, 2017

I have a swagger contract with an operation with...
"operationId":"submitParcel"

However when I look at the C# code generated for the controller it says..
[SwaggerOperation("SubmitParcel")]

The different casing breaks the Swagger Contract with Swashbuckle.SwaggerGen - vs. the originally imported one.

@wing328
Copy link
Contributor

wing328 commented Dec 9, 2017

I can think of a way to fix it. Will give it a try over the weekend ...

@wing328 wing328 added this to the v2.3.0 milestone Dec 9, 2017
@wing328 wing328 modified the milestones: v2.3.0, v2.4.0 Dec 18, 2017
@knom
Copy link
Contributor Author

knom commented Dec 19, 2017

Hey @wing328,
if you have any advice for me how to approach it I can try doing the change (maybe still getting it into 2.3.0).

Thanks.

@wing328
Copy link
Contributor

wing328 commented Jan 29, 2018

@knom I've filed #7522 to add "operationIdOriginal". Please review to see if it looks good to you.

@wing328
Copy link
Contributor

wing328 commented Feb 1, 2018

Closed via #7522

Please pull the latest master to give it a try.

@wing328 wing328 closed this as completed Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants