Show HN: REST Alternative to GraphQL and tRPC
openapistack.co
Show HN: REST Alternative to GraphQL and tRPC
1–10 of 76 posts
Re: Show HN: REST Alternative to GraphQL and tRPC
#2How does this compare to other solutions, like https://openapi-ts.pages.dev/?
Re: Show HN: REST Alternative to GraphQL and tRPC
#3Congrats on the launch! How does this compare to other solutions, like https://openapi-ts.pages.dev/ ?
The openapi-typescript package is a library for generating types from openapi spec, similar to the openapicmd typegen command provided by openapi-stack.
The new openapi-typescript-fetch seems similar to openapi-client-axios, but using fetch instead of axios for a more lightweight approach.
Both libraries are great and well aligned with goals of openapi-stack!
In addition to type generation and consuming APIs, https://openapistack.co provides tools for building and mocking API backends with the openapi-backend library, as well as a general cli tool to work with openapi files and invoke APIs via the command line.
The core mission of https://openapistack.co is to bring together tools for an end to end full stack toolkit for building and consuming typesafe REST APIs.
Re: Show HN: REST Alternative to GraphQL and tRPC
#4Re: Show HN: REST Alternative to GraphQL and tRPC
#5Is it just me, or do these "API contracts and type safety guarantees" all call back to SOAP?
Re: Show HN: REST Alternative to GraphQL and tRPC
#6Is it just me, or do these "API contracts and type safety guarantees" all call back to SOAP?
The problem that killed SOAP, to my mind, was growing complexity that eventually started to outweigh the benefits of the protocol. Not every implementation supported every new complication that, say, MS kept inventing, it hurt interoperability.
I think a modern sort-of-replacement for the SOAP's use case is GRPC. It eschews the heavyweight XML and tries to keep things simple, while staying reasonably typesafe, declarative, discoverable, and extendable.
Re: Show HN: REST Alternative to GraphQL and tRPC
#7Is it just me, or do these "API contracts and type safety guarantees" all call back to SOAP?