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
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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