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

[csharp][generichost] Handle obsolete params and methods #17344

Conversation

lewinskimaciej
Copy link
Contributor

@lewinskimaciej lewinskimaciej commented Dec 8, 2023

Hey, I would like generichost library to support basic method/param deprecation like this: #10084 in the past.

I've added conditional [Obsolete] attribute on I{{Controller}}Api methods along with (deprecated) in param descriptions, pretty much the same as mentioned PR.

We just need anything to show our clients that stuff is deprecated, most of them don't care about <remarks>...</remarks> but having build warning gets their attention.

Let me know if I need to make an issue for this or change/fix something, but it's a fairly simple addition.

Tagging @devhl-labs because as far as I've seen you mostly maintain this library :)

@wing328
Copy link
Member

wing328 commented Dec 11, 2023

samples updated via 0bc16e1

@wing328 wing328 merged commit 51c8be3 into OpenAPITools:master Dec 11, 2023
39 checks passed
@wing328
Copy link
Member

wing328 commented Dec 11, 2023

thanks for the PR, which has been merged into the master

@lewinskimaciej lewinskimaciej deleted the csharp-generichost-obsolete-handling branch December 11, 2023 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants