guardrail

Principled code generation from OpenAPI specifications (by guardrail-dev)

Guardrail Alternatives

Similar projects and alternatives to guardrail

  1. cobra

    A Commander for modern Go CLI interactions

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. quicktype

    98 guardrail VS quicktype

    Generate types and converters from JSON, Schema, and GraphQL

  4. cli-guidelines

    A guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day.

  5. connexion

    Connexion is a modern Python web framework that makes spec-first and api-first development easy.

  6. circe

    12 guardrail VS circe

    Yet another JSON library for Scala

  7. natchez-akka-http

    A tiny integration library between Natchez and Akka Http

  8. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  9. smithy-translate

    Tooling for converting to and from the Smithy IDL

  10. rad4s

    A set of utilities to speed up rendering, storage, testing, and prototyping, especially for http4s

  11. schema

    JSON schema for Vega and Vega-Lite (by vega)

  12. karma-plus-plus

    http://karmaplusplus.com

  13. scala.meta

    Library to read, analyze, transform and generate Scala programs

  14. circe-argus

    Temporary fork of Argus, for generating Scala models from JSON Schemas

  15. iron-cats-example

    Discontinued An example project using Iron & Cats

  16. Argus

    1 guardrail VS Argus

    Builds models from JSON Schemas (by aishfenton)

  17. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better guardrail alternative or higher similarity.

guardrail discussion

Log in or Post with

guardrail reviews and mentions

Posts with mentions or reviews of guardrail. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-27.
  • Ask HN: Why is there no specification for Command Line Interfaces?
    5 projects | news.ycombinator.com | 27 Feb 2023
    What's the use case? I was thinking about this exact issue because my product ships several CLI tools, but I wasn't convinced it would be worth the effort.

    An OpenAPI specification describes an HTTP interface, and I see it as useful because it makes it easier to write code in language-of-choice to generate HTTP requests (by generating client libraries from the OpenAPI spec).

    For a CLI, the interface is the command-line. Usually people type these commands, or they end up in bash scripts, or sometimes they get called from programming language of choice by shelling out to the CLI. So I could see a use case for a CLI spec, which would make it easier to generate client libraries (which would shell out to the CLI)... but it seems a little niche.

    Or maybe, as input to a documentation tool (like Swagger docs). I would imagine if you're using a CLI library like Python's Click, most of that data is already there. Click Parameters documentation: https://click.palletsprojects.com/en/8.1.x/parameters/

    Or maybe, you could start from the spec and then generate code which enforces it. So any changes pass through the spec, which would make it easy to write code (server and client-side) / documentation / changelogs. Some projects like this: Guardrail (Scala) https://github.com/guardrail-dev/guardrail , and Connexion (Python) https://github.com/spec-first/connexion .

    But without this ecosystem of tooling, documenting your CLI in a specification didn't really seem worth the effort. Of course, that's a bootstrapping problem.

  • Scala Library To Generate Case Classes for JSON
    8 projects | /r/scala | 16 Aug 2022
    You may have some luck with Guardrail https://github.com/guardrail-dev/guardrail/

Stats

Basic guardrail repo stats
2
534
7.8
8 months ago

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Scala is
the 32nd most popular programming language
based on number of references?