JSON Schema generator

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • ocsf-schema

    OCSF Schema

  • What I want: Convert the schemas here https://github.com/ocsf/ocsf-schema into valid Go structs to build a producer for the format.

  • go-jsonschema

    A tool to generate Go data types from JSON Schema definitions.

  • What I have tried: https://github.com/atombender/go-jsonschema gave that a spin and wasn't able to generate any successful types from the few items under objects I tried.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

  • I’ve been using https://github.com/deepmap/oapi-codegen for this exact purpose as I found it to be the most robust. You need to convert the schemas to OpenAPI specs first though (IIRC there are tools for that) and make sure to use the correct parameters with oapi-codegen. It’s not fantastic, but it does work very well for our use case.

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

  • Create Production-Ready SDKs with Goa

    9 projects | dev.to | 22 Nov 2023
  • Is there a way to generate controller from swagger through build tools?

    2 projects | /r/golang | 24 Feb 2023
  • ogen: spec-first OpenAPI v3 codegen for Go

    4 projects | /r/golang | 3 Jun 2022
  • TypeSpec: A New Language for API-Centric Development

    11 projects | news.ycombinator.com | 29 Apr 2024
  • I write HTTP services in Go after 13 years (Mat Ryer, 2024)

    12 projects | news.ycombinator.com | 9 Feb 2024