Top 17 JavaScript OpenAPI Projects
-
Project mention: Is XMPP any good? Let's write a client in Tcl, maybe | news.ycombinator.com | 2022-04-23
> JSON has no namespaces
Causing all extensible JSON-based protocols to eventually reinvent them:
* https://www.w3.org/TR/json-ld11/#compact-iris
* "If new events are added, the event type key SHOULD follow the Java package naming convention, e.g. com.example.myapp.event." https://spec.matrix.org/v1.2/client-server-api/#types-of-roo...
* https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-22... (no aliases, so it's even more verbose)
* https://github.com/OAI/OpenAPI-Specification/issues/1362#iss...
> it maps nicely into lists and dicts
and XML maps nicely into structures and vectors when you have a schema. But structures and schemas fell out of fashion, in favor of dynamically querying dicts.
-
swagger-ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
If you used REST before, there are many great tools that can do this, like Swagger, which generates a schema (swagger.json) out of your endpoints. This schema can then be used to generate dynamic or static documentation.
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
It's missing the greatest API testing classic Dredd! Other than that the best API testing tool I've used so far is schemathesis. It works by looking at your API specification and automatically launching hundreds of tests per endpoint. It also leverages advanced OpenAPI documentation strategies such as links to test the relationship between various endpoints.
-
Express by itself lacks a lot of metadata useful for generating OpenAPI spec, you'll end up writing a lot of non-standard doc comments. You want to use something like swagger-jsdoc to generate the spec and then some other package to generate the UI.
-
Widdershins 👎
-
Project mention: I created a tool which automatically generates typescript definitions for API endpoints | reddit.com/r/webdev | 2022-01-08
swagger-parser
-
If you are trying to do an API there's a pretty good generator to get you started: https://github.com/cdimascio/generator-express-no-stress
-
SonarLint
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
-
-
-
tuya-homebridge
Homebridge custom plugin for controlling Powered by Tuya (PBT) devices in HomeKit. This plugin is officially maintained by the Tuya Developer Team.
Project mention: Problem w/ Tuya & Treatlife DS02F Fan Switch | reddit.com/r/homebridge | 2022-04-25Nevermind! I found a PR that still hasn’t been merged for some reason. I had manually merged this last year and forgot about it. So when I updated it got clobbered.
-
api2html
A CLI tool to transform Swagger/OpenAPI/AsyncAPI docs to beautiful HTML pages via Shins/Widdershins.
-
fastify-openapi-glue
A plugin for Fastify to autogenerate a configuration based on a OpenApi(v2/v3) specification.
-
Project mention: Should API documentation be more non-technical PM friendly? | reddit.com/r/ProductManagement | 2021-11-02
It's also integrated with OpenAPI (aka swagger) through openapi-snippet. I've never used those library but the goal here is to reduce friction for first time developers.
-
-
-
We crafted a USPS Web Tools OpenAPI 3.0 specification from the PDF docs, then used the spec to generate modern USPS Web Tools API documentation with Redoc and host them on Netlify. Many companies offer an interactive API explorer as part of their documentation; we thought a good solution was a USPS Web Tools public workspace with Postman.
-
My lab code is available on GitHub.
JavaScript OpenAPI related posts
- Problem w/ Tuya & Treatlife DS02F Fan Switch
- Is XMPP any good? Let's write a client in Tcl, maybe
- Tuya devices not visible
- HTTP Feeds
- How to Build a Good API That Won’t Embarrass You
- Create and deploy API documentation to Kubernetes
- Best approach to use swagger generated data-models in business logic app
Index
What are some of the best open-source OpenAPI projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | OpenAPI-Specification | 23,701 |
2 | swagger-ui | 22,026 |
3 | dredd | 3,836 |
4 | swagger-jsdoc | 1,354 |
5 | widdershins | 1,084 |
6 | swagger-parser | 858 |
7 | generator-express-no-stress | 572 |
8 | openapi-to-postman | 560 |
9 | cookbook | 433 |
10 | tuya-homebridge | 167 |
11 | api2html | 107 |
12 | fastify-openapi-glue | 99 |
13 | openapi-snippet | 69 |
14 | open-api-mocker | 58 |
15 | mojo_react_app | 3 |
16 | usps-webtools-api | 1 |
17 | lab-day-2021-09-24 | 0 |
Are you hiring? Post a new remote job listing for free.