swagger-to-graphql icon indicating copy to clipboard operation
swagger-to-graphql copied to clipboard

[Feature request] Support `discriminator` and GraphQL interfaces

Open ehmicky opened this issue 6 years ago • 0 comments

GraphQL supports polymorphism using GraphQLInterfaceType. OpenAPI supports it with the discriminator property (which has a different syntax in 2.0 and 3.0). It would be nice to bring the two together.

This feature request might represent quite lots of work for something I'm not sure people would use, but I thought I'd still submit to see what you think.

ehmicky avatar Apr 17 '18 13:04 ehmicky