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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
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