Combining oapi-codegen, echo and validator frameworks to build robust APIs

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SonarQube - Static code analysis for 29 languages.
  • Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
  • oapi-validator-echo-sample

    This is a sample project showcasing how to use oapi-codegen to generate an Echo server and then use the validator framework to validate the spec.

    I recently published this library that generates a strict echo server using oapi-codegen and uses go-playground/validator to validate incoming requests.

  • oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

    I’m using oapi-codegen in my project and I don’t think it ships with a validator.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts