swagger-tagger
Validate and format swagger tags
Install
$ npm install --save swagger-tagger
Usage
var Tags = var tags = //=> [{name: 'beep', description: 'boop'}, ...]
API
Tags(data)
-> array[tag]
data
Required
Type: object
paths
Required
Type: object
tags
Required
Type: object
An object where keys are tag names and values are the tag description.
sort
Type: function
Default: undefined
A sort function for sorting the output array of tags by tag name. The default uses JavaScript's default alphabetical sorting.
License
MIT © Ben Drucker