The constructor of the Swaggerist
class.
You probably want to use the static method default.create instead
to create a new instance of the class.with sensible defaults
The swagger object to build based on the passed in definition
Private
getStatic
createThe static method to create a new instance of the class with sensible defaults
Example:
const swagger = Swaggerist.create({
info: {
title: "My API",
description: "This is my API",
version: "1.0.0"
}
})
Generated using TypeDoc
Description
A class to build a swagger object