0

I would like any recommendations on a software tool like Swagger Codegen but for GraphQL Schemas.

For instance given the following GraphQL definition:

input Element{
   id: Int
   name: String!
}

It would create a C# class like this one:

class Element {
   public int id {get;set;}
   public string name {get;set;}
}

Notice that nullable types are not a requirement. And for that case neither are properties, public fields will do just fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.