OpenAPI / Swagger, AsyncAPI & Semoasa definitions to (re)Slate compatible markdown. Widdershins is generally used as a stage in an API documentation pipeline. The pipeline begins with an API definition in OpenAPI 3.x, OpenAPI 2.0 (fka Swagger), API Blueprint, AsyncAPI or Semoasa format. Widdershins converts this description into markdown suitable for use by a renderer, such as Slate, ReSlate, Shins (deprecated) or html suitable for use with ReSpec. You can also use the environment file to group OAS/Swagger tagged paths together to create a more elegant table of contents, and overall page structure. If the language name differs between the markdown name required to syntax highlight and the httpsnippet required target, both can be specified in the form markdown--target. Widdershins supports the x-code-samples vendor-extension to completely customize your documentation.

Features

  • Widdershins supports the use of multiple language tabs with the same language
  • By default, Widdershins uses the templates in its templates/ folder to generate the Markdown output
  • Customize the templates and copy some or all of them to a folder and pass their location to the user_templates parameter
  • Templates are compiled with doT.js
  • Templates have access to a data object with a range of properties based on the document context
  • Option to output html directly, and to ReSpec format

Project Samples

Project Activity

See All Activity >

Categories

Documentation

License

MIT License

Follow widdershins

widdershins Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of widdershins!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Documentation Software

Registered

2022-09-08