crd-to-sample-yaml
openapi-generator
crd-to-sample-yaml | openapi-generator | |
---|---|---|
6 | 244 | |
131 | 22,504 | |
0.0% | 2.4% | |
9.0 | 9.9 | |
5 days ago | 4 days ago | |
HTML | Java | |
Apache License 2.0 | Apache License 2.0 |
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.
crd-to-sample-yaml
- Show HN: Crd-to-sample-YAML is v1.0.0 with a ton of features
-
Show HN: Update your CRDs with confidence ( schema validation with cty)
Hello everyone!
Previously I wrote about cty[^1] that can be used to generate valid YAML samples from a CRD ( now, including things like, valid Pattern generated random string, enums, default values, minimum int, minimum number of items.. etc ).
It also has a website that can be used to achieve the same thing here: https://crdtoyaml.com/
This update https://github.com/Skarlso/crd-to-sample-yaml/releases/tag/v... brings a feature with it, which I think is super cool. If not, well, then no. :)
Basically, inspired by `helm unittest` the user can define a test like this:
suite: test aws clusters infrastructure crds
-
Show HN: Online parser for arbitrary CRDs with sample YAML
Hello peeps.
I’ve wrote a tool to nicely display crds. I know of docs.crds how is this different? You can paste in the crd and it will generate a sample yaml to boot and you don’t need to point it at a repository. Also it has a cli version. Here is the repo https://github.com/Skarlso/crd-to-sample-yaml.
I hope someone finds this useful. Any feedback is always appreciated. :) Thanks.
-
Generate a valid YAML sample from a CRD
Here is the link.
-
How do people read CRDs?
So, I wrote a tool. :D https://github.com/Skarlso/crd-to-sample-yaml
openapi-generator
-
7 SDK Generator Tools for APIs in 2025
OpenAPI Generator
-
Generating OpenAPI API clients for Angular
Let’s learn how to generate an API client for an Angular project using the open-source OpenAPI Generator program. The OpenAPI Generator project offers a CLI for generating API client modules for multiple language targets by importing a YAML/JSON API specification file.
-
After 3 Years, I Failed. Here's All My Startup's Code
Did you try to use https://github.com/OpenAPITools/openapi-generator directly?
-
Top 8 Swagger Codegen Alternatives
OpenAPI Generator is a versatile tool that emerged as a fork of Swagger Codegen, offering enhanced support and features. It allows developers to generate API client libraries, server stubs, and documentation for over 30 programming languages.
- OpenAPI Generator: Generate clients, servers from OpenAPI 2.0/3.x documents
-
In-Depth Comparison: How to Choose the Most Suitable Enhanced Request Library
Since @tanstack/react-query and swr give all control of the request to the user, the API automation solution is provided by third-party request tools. For example, axios and fetch can automatically generate request codes through openapi-generator or @openapitools/openapi-generator-cli.
-
Next-generation web framework Teo, supports Node.js, Python and Rust
You would use OpenAPI (formerly Swagger) [1] for that, which includes JSONSchema for data types but also adds specs for defining REST apis. There are plenty of generators and other tools that work with OpenAPI [2]
[1] https://www.openapis.org/
[2] https://openapi-generator.tech/
-
Which tricks do you use to write less code?
I found some "tricks" to write less code, hence less code to maintain if there are any changes. Also less code with bugs just by changing the inputs.
For example, OpenAPI spec file + OpenAPI generator (https://github.com/OpenAPITools/openapi-generator). Any changes in the OpenAPI spec are reflected in the final code with a build step.
Another example: MapStruct (https://mapstruct.org/) to avoid passing data from Entity classes to DTO and back. Saves looots of boilerplate code.
Which are your tricks?
-
The Stainless SDK Generator
Disclaimer: We're an early adopter of Stainless at Mux.
I've spent more of my time than I'd like to admit managing both OpenAPi spec files [1] and fighting with openapi-generator [2] than any sane person should have to. While it's great having the freedom to change the templates an thus generated SDKs you get with using that sort of approach, it's also super time consuming, and when you have a lot of SDKs (we have 6 generated SDKs), in my experience it needs someone devoted to managing the process, staying up with template changes etc.
Excited to see more SDK languages come to Stainless!
[1] https://www.mux.com/blog/an-adventure-in-openapi-v3-api-code...
[2] https://github.com/OpenAPITools/openapi-generator
-
FastAPI Got Me an OpenAPI Spec Really... Fast
As a result, the following specification can be used to generate clients in a number of different languages via OpenAPI Generator.
What are some alternatives?
cloudnative-pg - CloudNativePG is a comprehensive platform designed to seamlessly manage PostgreSQL databases within Kubernetes environments, covering the entire operational lifecycle from initial deployment to ongoing maintenance
NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
argo-helm - ArgoProj Helm Charts
kiota - OpenAPI based HTTP Client code generator
noyaml - A silly emotional rant about the state of devops tooling/the infrastructure sector in 2018. #noyaml.com
oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications
kube-or-fake - Kube or Fake is an entertaining mini-game, where the player's goal is to correctly guess whether a ChatGPT generated word is a real Kubernetes term, or made up.
Feign - Feign makes writing java http clients easier
donatepal - A full stack web application created using Golang for Donation management.
SvelteKit - web development, streamlined
docgo - Now you are just a click away from official package documentation for Go repositories. DOCGO is a handy browser extension 🧱 to redirect from Go source code repositories to their official documentation 📄.
swagger-typescript-api - Generate the API Client for Fetch or Axios from an OpenAPI Specification