swagger-api / swagger-api/swagger-codegen
[csharp] partial classes for csharp-dotnet2
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
I'd like to augment the Model classes generated from csharp-dotnet2 with extra attributes.
Since the generated classes are not partial, is not possible for me to do so.
I see the classes generated from csharp are partial.
Is there something hindering marking csharp-dotnet2 as partial as well?
Swagger-codegen version
Swagger declaration file content or url
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the csharp-dotnet2 generation templates with the csharp templates to find where generated model classes are declared. Confirm the generated C# model output and mark the csharp-dotnet2 classes as partial, then verify that consumers can augment them with extra attributes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100