[Bug]: The generated C# service code should not contain 'Copyright (c) Microsoft Corporation' #5490
Open
4 tasks done
Labels
Milestone
Describe the bug
I found we are adding the following line in both of the generated code and server stub code
https://github.com/allenjzhang/typespec-e2e-demo/blob/a666c27152e2b9fe65250161c80b444467b090e4/todoApp/servers/aspnet/generated/lib/ArrayConstraintAttribute.cs#L1
I don't think we shall add the following line as they are targeting for 3rd party usage.
Reproduction
emit:
options:
"@typespec/http-server-csharp":
emitter-output-dir: "{project-root}/../servers/aspnet/generated"
Expected: The generated code should not contain Microsoft related copy right.
Actual: It shows the code above.
Checklist
The text was updated successfully, but these errors were encountered: