yaml-sucks
json-schema-spec
yaml-sucks | json-schema-spec | |
---|---|---|
10 | 32 | |
592 | 3,279 | |
- | 4.7% | |
2.2 | 7.9 | |
11 months ago | 9 days ago | |
Shell | JavaScript | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yaml-sucks
- XML is better than YAML
- Lingy brings to Perl what Clojure did for Java
- Docker Compose With TOML?
-
This just sucks.
Here are some examples.
-
Python 3.11 is out !
It's got a pretty complex spec and it does not take much to become completely unreadable by humans, not to mention the issues with parsing it.
- Does viper catch yaml config files with invalid syntax
-
Bob: A build system beyond building
Even simple examples don't get parsed the same between implementations.
-
copygen: Generate type-to-type and field-to-field struct code without reflection or dependencies (391x faster than copier)
There are plenty of well documented issues with YAML.
-
How to use YAML Aliases
Looks like some of this is either unsupported or unpredictable by different YAML parsers: https://github.com/cblp/yaml-sucks
-
Tuxedo control center: community edition
YAML sucks, use TOML instead. It is much more sane and as easy to use as YAML.
json-schema-spec
- Python JSON schema
-
TypeSpec: A New Language for API-Centric Development
Yep and that comes from JSON Schema: https://json-schema.org/
I believe recent versions of OpenAPI are "compatible" with JSON Schema (at least they "wanted to be" last I checked as I was implementing some schema converters).
Even TypeScript is not enough to represent all of JSON Schema! But it gets close (perhaps if you remove validation rules and stuff like that it's a full match).
But even something like Java can represent most of it pretty well, specially since sealed interfaces were added. I know because I've done it :).
- JSON Schema Blog
-
Deploy a simple data storage API with very little code using Amazon API Gateway and DynamoDB
models.tf where I centralized all the Data model that API Gateway uses to perform input and output checks. Those use the JSON-schema specification. GitHub - psantus/serverless.api-gateway-dynamodb-integration.terraform
- Unlocking the frontend – a call for standardizing component APIs pt.2
- JSON Schema
-
How to Automatically Consume RESTful APIs in Your Frontend
In the meantime, we are going to expand our backend with two endpoints: one for fetching data and another one for creating data. Fastify provides out-of-the-box support for API serialization and validation through its schema-based approach built on top of JSON Schema. Through the schema option, we can attach a schema definition to each route.
-
A View on Functional Software Architecture
JSON-schema to define templates for request and response contents.
-
Learn serverless on AWS step-by-step: Strong Types!
The syntax used to define the output is called JSON Schema. It is a standard way to define the structure of a JSON object. If you know zod, the spirit is similar. Based on Swarmion's roadmap, it will be possible to use zod schemas to defined contracts in the future, which will be super cool!
- XML is better than YAML
What are some alternatives?
tuxedo-control-center - A tool to help you control performance, energy, fan and comfort settings on TUXEDO laptops.
outlines - Structured Text Generation
tuxedo-keyboard - This repository will no longer get any updates as the code here is now part of tuxedo-drivers https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers.
guidance - A guidance language for controlling large language models.
goverter - Generate type-safe Go converters by simply defining an interface
uplaybook - A python-centric IT automation system.
LGV_MeetingServer - An aggregation server for meeting list servers.
nix-configs - My Nix{OS} configuration files
OpenAPI-Specification - The OpenAPI Specification Repository
copygen - Go generator to copy values from type to type and fields from struct to struct (copier without reflection). Generate any code based on types.
torch-grammar