Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Top 14 Go json-schema Projects
-
-
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
jsonschema
JSONSchema (draft 2020-12, draft 2019-09, draft-7, draft-6, draft-4) Validation using Go (by santhosh-tekuri)
If I were doing it, I would define struct that match the data you expect and update those struct as the project progresses. Also if I were doing it I'd explicitly not allow values with different types for the same key so that would prevent me from having to declare value types as interface{}. If you want a more general purpose validation of arbitrary JSON, you could define a JSON schema and validate it with a library like this.
-
-
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.
-
Project mention: [Request] Library Recommendation for Auto Swagger/OpenAPIv3 Documentation | /r/golang | 2023-05-27
This is what I use: https://github.com/swaggest/rest
-
Huma might be an option.
-
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.
-
Project mention: Are you using ChatGPT internally at your company? | news.ycombinator.com | 2023-05-06
-
Project mention: [Request] Library Recommendation for Auto Swagger/OpenAPIv3 Documentation | /r/golang | 2023-05-27
Also check out https://github.com/swaggest/openapi-go if you want more low level control of mapping structs to OpenAPI representation.
-
-
xk6-kafka
k6 extension to load test Apache Kafka with support for various serialization formats, SASL, TLS, compression, Schema Registry client and beyond
-
We have seen how to use JR in more advanced use cases, streaming quality random data with referential integrity. In the next part of this series, we will see how to use REST apis with JR. In the meanwhile, happy streaming!
-
-
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Go json-schema related posts
- JSON Schema generator
- I just wanted to bring more attention to my favorite web framework: Huma
- Validating dynamic JSON user input
- Restish is a CLI for interacting with REST-ish HTTP APIs
- Why JSON Isn’t a Good Configuration Language (2018)
- Huma – REST/GraphQL API Framework for Golang with OpenAPI 3
- Restish: CLI for interacting with REST-ish HTTP APIs
-
A note from our sponsor - SonarQube
www.sonarqube.org | 4 Oct 2023
Index
What are some of the best open-source json-schema projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | REST Layer | 1,228 |
2 | baloo | 762 |
3 | jsonschema | 678 |
4 | restish | 530 |
5 | go-jsonschema | 389 |
6 | rest | 249 |
7 | huma | 229 |
8 | go-jsonstruct | 188 |
9 | openapi-go | 147 |
10 | caddy-json-schema | 101 |
11 | xk6-kafka | 97 |
12 | jr | 97 |
13 | CONFLATE | 36 |
14 | churro | 13 |