OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
20.56k stars 6.28k forks source link

[csharp] fix system.web warning and removed unneeded fqn #18902

Closed filipe-silva closed 3 weeks ago

filipe-silva commented 3 weeks ago

Refactor validatable.mustache moved fqn types to using directive for cleaner code Fix netcore_project.mustache conditional "System.Web", more details: https://learn.microsoft.com/en-us/aspnet/core/migration/inc/adapters?view=aspnetcore-7.0

PR checklist

@mandrean @shibayan @Blackclaws @lucamazzanti @iBicha

wing328 commented 3 weeks ago

circlci node 2 failure not related to this change.

wing328 commented 3 weeks ago

thanks for the PR

cc @devhl-labs

wing328 commented 3 weeks ago

if users have a model/schema called ValidationResult somehow which should result in compilation errors after this change, they can use the model mapping feature to workaround the issue: https://github.com/openapitools/openapi-generator/blob/master/docs/customization.md#name-mapping