Hasura vs oapi-codegen
Hasura
hasura.iooapi-codegen
github.comSide by side
| Figure | Hasura | oapi-codegen |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 3 | 1 |
| Spec score · API Generation Software | 8.0 (#5) | 7.5 (#12) |
| Integrations | Hasura Cloud lists GitHub integration for CI/CD and observability integrations such as Datadog, New Relic, Azure Monitor, Prometheus, and OpenTelemetry. | It can be installed as a Go tool or binary and used with go:generate; the project also documents Renovate for updating a pinned configuration schema. |
| Security | Hasura Cloud lists query allow lists, optional GraphQL introspection disabling, security event logging, access controls, and DDoS monitoring among its security features. | The project links to an organizational security policy and says it may make breaking changes if needed to respond to a security vulnerability. |
| Support | The Cloud Free plan includes community and email/ticketed support, Professional includes expert technical support, and Enterprise includes 24x7 expert technical support with customizable SLAs. | The maintainers describe support as best-efforts because they work on the project during off hours from their jobs. |
Plans
In their own words
Hasura
Hasura is a hybrid API platform that generates data APIs over connected databases, so developers do not need to write handlers, schemas, or resolvers. Hasura Cloud plans provide instant GraphQL APIs, RESTified endpoints, and GraphQL subscriptions. Listed database sources include Postgres-compatible systems, Microsoft SQL Server, BigQuery, Amazon Athena, Snowflake, MySQL, Oracle, MariaDB, MongoDB, and ClickHouse. APIs can be extended with remote schemas, remote joins, Actions, and event or scheduled triggers. Authorization can use an authentication provider of the customer’s choice, with JWT controls through headers, cookies, or webhooks. Cloud hosting is available on AWS, Google Cloud Platform, and Microsoft Azure Cloud. The Community Edition can run from a Docker image, while Enterprise Edition supports on-premises deployment. Hasura Cloud also lists GitHub, observability integrations, query allow lists, access controls, and DDoS monitoring. Plans include a free tier and paid options.
oapi-codegen
oapi-codegen has no write-up on Specifiction yet; its figures are above.