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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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