Beyond OpenAPI

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • diataxis-documentation-framework

    A systematic approach to creating better documentation.

  • I think people may be missing the core point of this article.

    Anton has built a new thing, https://codapi.org/ - which provides a web component that makes it easy to embed interactive code snippets for HTTP APIs, Python code and more directly in pages of documentation.

    This article demonstrates this new technology in the context of the https://diataxis.fr/ documentation framework, which recommends going beyond just straight API reference documentation and ensuring you cover tutorials, how-to guides and explanations as well.

    I think this is really cool.

  • hitchstory

    Type-safe YAML integration tests. Tests that write your docs. Tests that rewrite themselves.

  • Thats the reason I wrote this:

    https://github.com/hitchdev/hitchstory

    There's a REST API example.

    If your specification can be used as a test and to generate docs and the spec can be rewritten based upon program output then the maintenance cost plunges.

    It would integrate with this quite easily - the script to generate the docs and the jinja2 would need tweaking - thats all.

  • 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 logo
  • katt

    KATT (Klarna API Testing Tool) is an HTTP-based API testing tool for Erlang.

  • What this misses is the curl response format.

    Long time ago at Klarna we used this tool: https://github.com/for-GET/katt Here's an example: https://github.com/for-GET/katt/blob/master/doc/example-http...

  • iommi

    Your first pick for a django power cord

  • It's all about the tooling. I wrote my own for iommi where the html output of some code gets saved in a defined place, and then the finished documentation page embeds that html in an iframe. It's not only WAY WAY easier to maintain than a bunch of screenshots, but I found a ton of issues with the documentation after I made it so it runs all the examples and I can look at the output.

    example: https://docs.iommi.rocks/en/latest/cookbook_forms.html

    corresponding documentation/tests: https://github.com/iommirocks/iommi/blob/master/docs/test_do...

    my evil hack to get this working: https://github.com/iommirocks/iommi/blob/master/make_doc_rst... and https://github.com/iommirocks/iommi/blob/master/iommi/docs.p...

  • pytest-doctestplus

    Pytest plugin providing advanced doctest features

  • That's brilliant! https://github.com/scientific-python/pytest-doctestplus seems to be similar working in the opposite direction, using the documentation source as the single location for test code. I like your approach better and wish there was more support for that pattern more generally!

  • restclient.el

    Discontinued HTTP REST client tool for emacs

  • vscode-restclient

    REST Client Extension for Visual Studio Code

  • 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.

    InfluxDB logo
  • stepci

    Automated API Testing and Quality Assurance

  • verb

    Organize and send HTTP requests from Emacs

  • httpyac

    Command Line Interface for *.http and *.rest files. Connect with http, gRPC, WebSocket and MQTT

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts