swagger-partials
v1.0.2
Published
Write swagger files in partials and concatenate them to a master output yaml or json file
Downloads
1
Readme
API:
registerWithFolderPrefix(prefix, files)
- Registers partials to handlebars. Prefix is the name of the folder. Files are the files that has been set with setPaths and setDefinitions.
readAndSaveFile(name)
readFile(name)
saveFile(name)
setBasePath(path)
setOutputBasePath(path)
setPaths(pathToPathFiles)
setDefinitions(pathToDefinitionsFiles)