You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I define multiple tags and add more than one to path definition csharp generator generates multiple Response interfaces with same. Then to code doesn't compile.
Description
When I define multiple tags and add more than one to path definition csharp generator generates multiple Response interfaces with same. Then to code doesn't compile.
openapi-generator version
openapi-codegen-cli-7.8.0.jar
OpenAPI declaration file content or url
sample api defintion
Generation Details
java.exe -jar .\openapi-generator-cli.jar generate -i '.\duplicit-classes.yaml' -g csharp -o .\test\ --additional-properties='library=generichost,targetFramework=net8.0,excludeTests=true,nullableReferenceTypes=true,useOneOfDiscriminatorLookup=true,packageName=Test.Client'
Steps to reproduce
Generate code with command above open in VS and compile or use dotnet build command
Suggest a fix
use {{interfacePrefix}}{{operationId}}{{classname}}Response as interface name instead of {{interfacePrefix}}{{operationId}}ApiResponse in api.mustache
The text was updated successfully, but these errors were encountered: