3 ms·
> no way I am going to write openapi spec I don't get the stubbornness here. OpenAPI is not hard??? It's just JSON schema + some routes and effectively conveys
by nlarew 3y ago
> no way I am going to write openapi spec
I don't get the stubbornness here. OpenAPI is not hard??? It's just JSON schema + some routes and effectively conveys the same information as a GraphQL schema, possibly more if you're not using custom directives and such.
> Then each side takes the contract and go implement the frontend and the backend and it just works
This is not unique to GraphQL. There's almost zero difference between programming to an OpenAPI spec vs a GraphQL schema - they're both API interface definitions.