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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.