swagger-cli VS openapi

Compare swagger-cli vs openapi and see what are their differences.

swagger-cli

Swagger 2.0 and OpenAPI 3.0 command-line tool (by APIDevTools)

openapi

An OpenAPI specification for the Stripe API. (by stripe)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
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
swagger-cli openapi
2 2
513 359
- 1.4%
0.0 9.8
almost 2 years ago 5 days ago
JavaScript Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

swagger-cli

Posts with mentions or reviews of swagger-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • TypeSpec: A New Language for API-Centric Development
    11 projects | news.ycombinator.com | 29 Apr 2024
    If you are in a situation where you have a backend and you want to expose an API and then you would eventually want a client, you would need format specs as the starting point where server and clients are generated from that one source.

    At the moment, OpenAPI with YAML is the only way to go but you can't easily split the spec into separate files as you would do any program with packages, modules and what not.

    There are third party tools[0] which are archived and the libraries they depend upon are up for adoption.

    In that space, either you can use something like cue language 1] or something like TypeSpec which is purpose built for this so yet, this seems like a great tool although I have not tried it yet myself.

    [0]. https://github.com/APIDevTools/swagger-cli

    [1]. https://cuelang.org/

    EDIT: formating

  • Generating docs from OpenAPI Spec
    7 projects | dev.to | 26 Apr 2022
    In order to use Redocusaurus, I needed a single spec file. Both Swagger cli and OpenApi cli offered an option to merge separate specs into one. The problem was that one of them required a "root spec file" to drive the merging and the other required extra information to resolve conflicts. My specs had neither.

openapi

Posts with mentions or reviews of openapi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-26.
  • The Collison Brothers Built Stripe into a $95B Unicorn
    2 projects | news.ycombinator.com | 26 May 2022
    I wonder if there is a format for API -> client automation that can be good enough, in the end Stripe have a rest API, with enough description it should be possible.

    Okay so after a quick google it appears Microsoft are the "Simpsons already done it" of the programming world: https://github.com/Azure/autorest/

    It'd probably be a good idea to add an Elixir backend for that and point it at Stripe's API here: https://github.com/stripe/openapi

  • Generating docs from OpenAPI Spec
    7 projects | dev.to | 26 Apr 2022
    Our specs were split between several YAML spec files. It looked like a good idea when we did that - large files are not fun to work with. The problem is that very little in the OpenAPI ecosystem was built for multiple files. I strongly recommend that you will save yourself the pain and go the mono-file route. If Stripe can have a 4.5MB spec file, so can we.

What are some alternatives?

When comparing swagger-cli and openapi you can also consider the following projects:

widdershins - OpenAPI / Swagger, AsyncAPI & Semoasa definitions to (re)Slate compatible markdown

cardano-python - Python module for handling Cardano cryptocurrency

redocly-cli - ⚒️ Redocly CLI makes OpenAPI easy. Lint/validate to any standard, generate beautiful docs, and more.

plutus-starter - A starter project for Plutus apps

openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

swagger-markdown - swagger to markdown transpiler

Docusaurus - Easy to maintain open source documentation websites.

bpmnlint - Validate BPMN diagrams based on configurable lint rules.

fluent-json-validator - An easy-to-use, expressive, and composable JSON object validator, with a fluent builder pattern interface!

docs-cardano-org - Documentation for Cardano