OpenAPITools / OpenAPITools/openapi-generator

C# Generator for WPF views

Open
#18,758 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Hi All
I want to generate simple views for each of the C# generated classes (From the API we use this part works well), we do have the notifypropertychanged interface added through the Mustache templates but i need to find out how i can generate a WPF view (the xaml and xaml.cs) based on the same yaml file.

eg.
Current Generated VM (working)
image

View i need to gen consist of the following
image
the .xaml.cs will always look like this
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing C# generator's Mustache templates and the generated classes produced from the YAML specification. Define how the requested WPF XAML and .xaml.cs outputs should be generated alongside those classes; done means both view files are produced with the described structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.