{"_id":"swagger-to-html","_rev":"28-6ed7533552f3be9a2e9ef8a934c346cb","name":"swagger-to-html","description":"Converts a swagger-definition into a static html page","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.1":{"name":"swagger-to-html","version":"0.0.1","description":"Converts a swagger-definition into a static html page","main":"src/index.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"test":"bin/cli.js example/petstore.json target/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"atom-light-syntax":"git://github.com/atom/atom-light-syntax#v0.27.0","bootstrap":"^3.3.2","commander":"^2.6.0","handlebars":"^3.0.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","lodash":"^3.3.1","marky-markdown":"^5.0.2","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"gitHead":"483c3d891a0eb486fa261339cc2bebcfab175105","_id":"swagger-to-html@0.0.1","_shasum":"3e04ae57b2080090d4c9f3a9e657d57a50fbbb2b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"3e04ae57b2080090d4c9f3a9e657d57a50fbbb2b","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.0.1.tgz","integrity":"sha512-V9eQS5UEpRBN2Lyb3mpOOFAXKBpuoieS7zbydq4wI+eHXWDoQob2nSuM2AD90yNsD6QqullJV0AOOCSDCjrkSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHLbahuZYZHAYfSeRkzRrHlZithsyy1txx9hkC3SqULaAiEApss2p/CnswI/c+vsbl0G4e8TCfvsQfOcQcZ0r7I6NxM="}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.0.2":{"name":"swagger-to-html","version":"0.0.2","description":"Converts a swagger-definition into a static html page","main":"src/index.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"test":"bin/cli.js example/petstore.json target/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"atom-light-syntax":"git://github.com/atom/atom-light-syntax#v0.27.0","bootstrap":"^3.3.2","commander":"^2.6.0","handlebars":"^3.0.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","lodash":"^3.3.1","marky-markdown":"^5.0.2","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"gitHead":"af00f7823ad2d152fb35aa982564eff1537d1cec","_id":"swagger-to-html@0.0.2","_shasum":"353e071f94fedb7eeb78fa620ed02d64a95aab58","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"353e071f94fedb7eeb78fa620ed02d64a95aab58","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.0.2.tgz","integrity":"sha512-wMQDcyhTiDAHDUuSlskLtbVYFeP84f8eEtxQ4foGDtjuhMoMxTNRGJc+N6NFram3lmUMJJJ5MaYosNaXpUOWIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNk29ZkYxeKBrpFZWgwpisjxPwkgPfflbm+hlebh6bjAiBJM5QJq4oN+pk7+QufodfCSYFfN8BIBXBtlFuLLyWruw=="}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.0.3":{"name":"swagger-to-html","version":"0.0.3","description":"Converts a swagger-definition into a static html page","main":"src/index.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"test":"bin/cli.js example/petstore.json target/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"atom-light-syntax":"git://github.com/atom/atom-light-syntax#v0.27.0","bootstrap":"^3.3.2","commander":"^2.6.0","handlebars":"^3.0.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","lodash":"^3.3.1","marky-markdown":"^5.0.2","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"gitHead":"a8f11856ed66fe0dca39e037a89bba3b78aad838","_id":"swagger-to-html@0.0.3","_shasum":"fa4d0dca9b72664ba2a8e7862a08de1dcbe6207e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"fa4d0dca9b72664ba2a8e7862a08de1dcbe6207e","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.0.3.tgz","integrity":"sha512-YL3+8daN9fRTCQsSLJm4+sNqfPwd9L+ddgvOOwnR7D0Skbno879eH2rUgPAdRTCkdjzNznaJBgIAPTZklu5dsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEq//N2StH5ptNLXLhAD59ZyLz2YAnUtLovvZa/CtvjqAiBXDAzMYRGrAOrqlfjl4qpyR0+ORYTk67BJmR51n2hXpg=="}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.0.4":{"name":"swagger-to-html","version":"0.0.4","description":"Converts a swagger-definition into a static html page","main":"src/index.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"test":"bin/cli.js example/petstore.json target/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"atom-light-syntax":"git://github.com/atom/atom-light-syntax#v0.27.0","bootstrap":"^3.3.2","commander":"^2.6.0","handlebars":"^3.0.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","lodash":"^3.3.1","marky-markdown":"^5.0.2","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"gitHead":"2a4998266ed0050ff3ebe0650c4cf6a45d72751f","_id":"swagger-to-html@0.0.4","_shasum":"1e165101abfb547718923a7c69f2f117d0e8e9fd","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"1e165101abfb547718923a7c69f2f117d0e8e9fd","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.0.4.tgz","integrity":"sha512-yOG6evG0Wa84TVifk8cgsVA16Z18zjOG0oRV1BgwIFg0xVisncbTtLds8c+AlivOdL9exegzOd4P5BCKTRPYYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/hCHo0uicV0iMXsmZdCXHYJ7/SSB/Q0OEpXtBVsWL4gIgPxhDWT8lBNPxRgw7lLYQ9huAY+FPTeLMZp7mEc61E9I="}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.0.5":{"name":"swagger-to-html","version":"0.0.5","description":"Converts a swagger-definition into a static html page","main":"src/index.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"test":"bin/cli.js example/petstore.json target/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"atom-light-syntax":"git://github.com/atom/atom-light-syntax#v0.27.0","bootstrap":"^3.3.2","commander":"^2.6.0","handlebars":"^3.0.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","lodash":"^3.3.1","marky-markdown":"^5.0.2","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"gitHead":"e5489e9f748575e294bebfa51a6f879b5a74216b","_id":"swagger-to-html@0.0.5","_shasum":"f451f501273578f9cdd206aeec971a787741ecd9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"f451f501273578f9cdd206aeec971a787741ecd9","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.0.5.tgz","integrity":"sha512-UCWtJFbvCeQ5aDvo8ew/yS2kwEDxLvfxrmmyhjyfBKnvYhQCUHiFpJ1jyji7vtyOMpUrcbd1TWuK6CkhnbKZhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEvwOuUTkZehhXKFC52AqFkyme7zg7X1gh9aSqDrsc7AiB/6ZLs36QuGjrP+a13RKBsBy5CaUz+noefcGyYAInDTQ=="}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.1.0":{"name":"swagger-to-html","version":"0.1.0","description":"Converts a swagger-definition into a static html page","main":"src/index.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"test":"DEBUG=s2h bin/cli.js example/petstore.json target/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"atom-light-syntax":"git://github.com/atom/atom-light-syntax#v0.27.0","bootstrap":"^3.3.2","commander":"^2.6.0","debug":"^2.1.2","handlebars":"^3.0.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","lodash":"^3.3.1","marky-markdown":"^5.0.2","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"gitHead":"783a755b91e13750b0e1c364108f649ec21665b1","_id":"swagger-to-html@0.1.0","_shasum":"e12d7596dadfd6c8401001751c206ca1319fce39","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"e12d7596dadfd6c8401001751c206ca1319fce39","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.1.0.tgz","integrity":"sha512-O9HcBg3c6t6V7vZ+H4Zy4RKZG+wse+qyU+fA5hOoxxtBi8StzqmcbuGTvmPTDg/M57tooajTfmXLNHG+PZJseQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDw73IyxuF+6Jz8TLSkIN49ubyDMrNYbpUUEAOPAFEiUAiAW2Dv/Kq55PVIyiIrOfa+IHoCfNRvZ6CE15hv34Doi1w=="}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.2.0":{"name":"swagger-to-html","version":"0.2.0","description":"Converts a swagger-definition into a static html page","main":"src/index.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"start":"bin/cli.js -d example/petstore.json target/","test":"nodeunit tests/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"bootstrap":"^3.3.2","cheerio":"^0.18.0","chokidar":"^1.0.0-rc4","commander":"^2.6.0","debug":"^2.1.2","handlebars":"^3.0.0","highlight.js":"^8.4.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","live-server":"^0.7.0","lodash":"^3.3.1","marked":"^0.3.3","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"devDependencies":{"clarify":"^1.0.5","nodeunit":"^0.9.1","trace":"^1.1.0"},"gitHead":"05902b94bb477e5528b4e44a6d9a7db6b5f51a7d","_id":"swagger-to-html@0.2.0","_shasum":"1fcc963ce967f459477d414e9cbc1ec0d165fd6b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"1fcc963ce967f459477d414e9cbc1ec0d165fd6b","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.2.0.tgz","integrity":"sha512-LvxfKr5VVVVChfYIUHDVJrtR0c0JZTh9NNoPKHv9PyaAKy/cJ17w0pkuqO6ykONmzoHgAuGa/cyn7ikfWdLW3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICtX8iP56bmnaI2wukN/0ZIYfW5UrAOiHVDDZtice1xFAiEAsvqsm9omhdZYgCTQp9SRio3cBjVK61/o8byhJTfLzQI="}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.2.1":{"name":"swagger-to-html","version":"0.2.1","description":"Converts a swagger-definition into a static html page","main":"src/index.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"start":"bin/cli.js -d example/petstore.json target/","test":"nodeunit tests/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"bootstrap":"^3.3.2","cheerio":"^0.18.0","chokidar":"^1.0.0-rc4","commander":"^2.6.0","debug":"^2.1.2","handlebars":"^3.0.0","highlight.js":"^8.4.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","live-server":"^0.7.0","lodash":"^3.3.1","marked":"^0.3.3","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"devDependencies":{"clarify":"^1.0.5","nodeunit":"^0.9.1","trace":"^1.1.0"},"gitHead":"780b83a9ef196c91ea581a8534aed63a04499018","_id":"swagger-to-html@0.2.1","_shasum":"bffe919e2b04f14302c2ec722c61c6b7beb1a411","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"bffe919e2b04f14302c2ec722c61c6b7beb1a411","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.2.1.tgz","integrity":"sha512-Sc1k1CHA4eevpvcjqOOZQpX/TqwEX6rPViy6pAbGrsYYIsg/dQU2M6FDcSF61zAPlmInzZq7PdxuGH7qfhfDRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3DomM9vwdc6cKVAl7WNKqRTdX2Jlc0l7UPutkpoAkKAIgA2J9XOGuENaNsqO8KKctiUlztBxhZ7XNJkX6ei1gmoI="}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.2.2":{"name":"swagger-to-html","version":"0.2.2","description":"Converts a swagger-definition into a static html page","main":"src/swagger-to-html.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"start":"bin/cli.js -d example/petstore.json target/","test":"nodeunit tests/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"bootstrap":"^3.3.2","cheerio":"^0.18.0","chokidar":"^1.0.0-rc4","commander":"^2.6.0","debug":"^2.1.2","handlebars":"^3.0.0","highlight.js":"^8.4.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","live-server":"^0.7.0","lodash":"^3.3.1","marked":"^0.3.3","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"devDependencies":{"clarify":"^1.0.5","nodeunit":"^0.9.1","trace":"^1.1.0"},"gitHead":"9602e8e6aa127a9d907b0814d77b63ea1349633d","_id":"swagger-to-html@0.2.2","_shasum":"b272d0413906c947f2637882ecb0574a2031be60","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"b272d0413906c947f2637882ecb0574a2031be60","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.2.2.tgz","integrity":"sha512-5sAAX9Um4/mIwMXWkrjXkdc1rf9wMeJXNXF7rdiwi0G63wfnDZcN5WdBgUo/FwUGFW8W8M3MSw/fsmvfbg44VA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1VGyZTllIGVcsA7nxkcObvcsnDdp0lT3s6dAtJpBamQIhAKKCFOYzIIGXg3WOoWBJv7WLCj+FnCHBqcHxuHstrgRF"}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.2.3":{"name":"swagger-to-html","version":"0.2.3","description":"Converts a swagger-definition into a static html page","main":"src/swagger-to-html.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"start":"bin/cli.js -d example/petstore.json target/","test":"nodeunit tests/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"bootstrap":"^3.3.2","cheerio":"^0.18.0","chokidar":"^1.0.0-rc4","commander":"^2.6.0","debug":"^2.1.2","handlebars":"^3.0.0","highlight.js":"^8.4.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","live-server":"^0.7.0","lodash":"^3.3.1","marked":"^0.3.3","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"devDependencies":{"clarify":"^1.0.5","nodeunit":"^0.9.1","trace":"^1.1.0"},"gitHead":"73096333e566e31acf03f197b44d7f5b685ec910","_id":"swagger-to-html@0.2.3","_shasum":"8133240f92c3d8669b93194f558eec987fb8baa3","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"8133240f92c3d8669b93194f558eec987fb8baa3","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.2.3.tgz","integrity":"sha512-vuFcmomBvWhaHhZBskXvwOlgGBtzLDF/TL5QMadh6hivkmqoQEmhTvltezSLTiH2exVcIl8lfxP1Z/omVdnLwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGj4ccCJY9ynDAuEgHYk09BZg0j0cnTVZ7G7eDfv7nabAiEAv54Luvo91J/phQ1/iotOvLhJO9PbSl0pTC/+bWzk7/0="}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.3.0":{"name":"swagger-to-html","version":"0.3.0","description":"Converts a swagger-definition into a static html page","main":"src/swagger-to-html.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"start":"bin/cli.js -d example/petstore.json target/","test":"nodeunit tests/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"bootstrap":"^3.3.2","cheerio":"^0.18.0","chokidar":"^1.0.0-rc4","commander":"^2.6.0","debug":"^2.1.2","handlebars":"^3.0.0","highlight.js":"^8.4.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","live-server":"^0.7.0","lodash":"^3.3.1","marked":"^0.3.3","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"devDependencies":{"clarify":"^1.0.5","nodeunit":"^0.9.1","trace":"^1.1.0"},"gitHead":"642271d96631aa55cf165d1d157fb08b4479f18f","_id":"swagger-to-html@0.3.0","_shasum":"05923f15fa8c6e7d333dbb124620f4b4863e71c2","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"05923f15fa8c6e7d333dbb124620f4b4863e71c2","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.3.0.tgz","integrity":"sha512-GzBqY+02YwS5zsZsSQofEw415MEtN8WOvdZxUuwJaybK5Y75Z5RrxNsPab9z0DAhtr+NpqsXPtGrpIZH+0pLmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHe/VQ0MSvxWCw/z//mT//IKN2lkiZViXAX6k3nVG0zwIhAOyffGjYWdE+yLRZzFVq4wpVRe/7GslLIZn5gmA2Kr9m"}]},"deprecated":"Functionality has been moved to bootprint-swagger"},"0.4.0":{"name":"swagger-to-html","version":"0.4.0","description":"Converts a swagger-definition into a static html page","main":"src/swagger-to-html.js","bin":{"swagger-to-html":"bin/cli.js"},"scripts":{"start":"bin/cli.js -d example/petstore.json target/","test":"nodeunit tests/"},"preferGlobal":true,"repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"license":"MIT","bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"homepage":"https://github.com/nknapp/swagger-to-html","dependencies":{"bootstrap":"^3.3.2","cheerio":"^0.18.0","chokidar":"^1.0.0-rc4","commander":"^2.6.0","debug":"^2.1.2","handlebars":"^3.0.0","highlight.js":"^8.4.0","json-stable-stringify":"^1.0.0","less":"^2.4.0","live-server":"^0.7.0","lodash":"^3.3.1","marked":"^0.3.3","q":"^1.2.0","q-deep":"^1.0.0","q-io":"^1.11.6"},"devDependencies":{"clarify":"^1.0.5","nodeunit":"^0.9.1","trace":"^1.1.0"},"gitHead":"98a753def2bfc2f77f6c832d9ee0366b71cfa225","_id":"swagger-to-html@0.4.0","_shasum":"bf9ffb39a994b83dd0740c8e958262b437208ac8","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"knappi","email":"npm@knappi.org"},"maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"dist":{"shasum":"bf9ffb39a994b83dd0740c8e958262b437208ac8","tarball":"https://registry.npmjs.org/swagger-to-html/-/swagger-to-html-0.4.0.tgz","integrity":"sha512-niNlipPOVCfDjkcil1sRPl2jWUIf57V3nx499Zay9GMCDdK160sGDjaKNEah1INV7sRBposim6emDK0NhgwSeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOQdPKZz2lrImtimXUQo5dgXNma9Uu8lD6e1W0kweDRwIhAOkupPMRKD92U7KBCwalLw8WHj+j2j41X9b8sDDwU1hH"}]},"deprecated":"Functionality has been moved to bootprint-swagger"}},"readme":"## Deprecated\n\nThis package is now deprecated, since I have moved all the functionality into the packages\n\n* [bootprint](https://npmjs.com/bootprint)\n* [bootprint-json-schema](https://npmjs.com/bootprint-json-schema)\n* [bootprint-swagger](https://npmjs.com/bootprint-swagger)\n\nThe documentation of these packages, but the functionality is the same.\nLook at the example at [bootprint-swagger](https://npmjs.com/bootprint-swagger) to transform your\nswagger-definitions.\n\n\n\n\n## Motivation\n\nI think, [Swagger](http://swagger.io/) is a great tool to document a REST-API, especially since it already\nhas a nice [documented user interface](http://petstore.swagger.io/) included. However, sometimes you need to deliver a\nstatic documentation to your customers. The first I did was use [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)\nto create HTML and [PhantomJS-rasterize](https://github.com/ariya/phantomjs/blob/master/examples/rasterize.js) to\ncreate a PDF.\n\nThere were however, some points that I didn't like about Swagger Codegen:\n\n* I think the setup is too complicated. It's not really suited for a non-CS guy. And you need to compile the project using\n  maven before you can actually use it. Non-CS people probably would not want to do this.\n* At the first glance, it did not seem to be very flexible. You cannot include any custom styles in the build (and\n  I think on delivery, you might want to include your company's CI).\n\nSo `swagger-to-html`\n\n* uses a bootstrap-css to provided clean an responsive styling,\n* runs a lesscss-compiler, so that the bootstrap-theme can actually be adapted by redefining less-variables.\n* uses a Handlebars template to generated HTML from a swagger-definition, the template and all partials\n  can be replaced by custom ones.\n* has the option to include custom handlebars-helpers to use in your custom templates\n* provides suitable defaults for all customizable features.\n\n\n## Customization vs Reporting Bugs\n\nSince almost every part of the module can be customized, it is very easy to circumvent bugs in the template and\nthe styling by providing a customization for the buggy part. **Please do submit bugs, if you find them. And if\nyou make optimizations (especially ones from the todo-list below), please submit a pull request.**\n\nCustomizations are meant for providing non-generic adaptions to customer needs. You can use them temporarily to\nresolve your generic problems, but if you think, your change would benefit everyone, please report them so that it\ncan be fixed here too.\n\n## Command-line-interface\n\nThe package uses the `commander` package to parse cli-parameters. If you call it without parameters, the following help page\nwill be displayed:\n\n```bash\n  Usage: swagger-to-html [options] <swaggerfile> <targetdir>\n\n  Convert a swagger-definition file into a static html-page.\n\n  Options:\n\n    -h, --help                output usage information\n    -V, --version             output the version number\n    -f, --config-file <file>  Specify a config file for custom configurations\n    -C, --no-css              Omit css generation\n    -d, --development-mode    Turn on file-watcher, less source maps and http-server with live-reload\n\n```\n\n### -f, --config-file\n\nA custom configuration-file can be specified. It must be a json-file and can contain options to customize the behaviour\nof `swagger-to-html`. The configuration-options are described [below](#configuration-options).\n\n### -C, --no-css\n\nWithout this option, `swagger-to-html` will call `lesscss` to combine the `bootstrap`-less with the `atom-light-syntax`-less\nand other less-directives in this module. This is a time-consuming process and can be skipped, e.g. if you have already\ngenerated you files before and have only changed your swagger-definition.\n\nThis option might disappear in the future. I'm thinking about using a fs-watcher to perform live-updates of the template and\nthe css.\n\n### -d, --development-mode\n\nThis options activates a development-mode. This means:\n\n* The template-files, all partials, all less-files and the swagger-file are watched using [the chokidar module](https://www.npmjs.com/package/chokidar). CSS and/or HTML are rebuilt automatically when needed.\n* A [live-server](https://www.npmjs.com/package/live-server) is run on the target directory to enable live-reloading html and css.\n* LESS source-maps are generated and inlined into the CSS.\n\n\n*Note: Generally, chokidar is used in a non-polling mode if a whole directory is referenced in the configuration (partial\ntemplates and less-paths. For explicit files (swagger-file, less-files, directly referenced partials) the polling mode is\nused. Otherwise, there are problems with text-editors that use \"atomic writes\".*\n\n*Note: Chrome does not seem to repaint the page, if only the CSS changes, until the mouse hovers over the browser window*\n\n## Programmatic usage\n\n```js\n\n// 'require' the module\nvar converter = require(\"swagger-to-html\")({ /* options */ });\n\n// call the lesscss-compiler to generate css\nconverter.generateCss(targetDir)\n\n// call handlebars to generate the HTML-code\nconverter.generateHtml(swaggerJson, targetDir)\n```\n\n*The development-mode cannot officially be activated programmatically at the moment*\n\n\n## Configuration options\n\n*Disclaimer: I have not written any unit tests to verify these options yet.\n I am sure I will do so some time, but until then I cannot guarantee anything.\n You are welcome to test the options and submit bugs or even tests.*\n\nThe configuration object can contain the following options:\n\n```js\n{\n  partials: {\n      somePartialDirectory: \"another/directory\"\n      parameters: \"...\",\n      \"...\": \"...\"\n  },\n  template: \"path/to/the/main/template.hbs\",\n  helpers: {\n      aHandlebarsHelper: function(value) {\n          return 'result';\n      }\n      // '...'\n  }\n  less: {\n      paths: [ \"path/to/an/include-directory/\" ],\n      main: [ \"path/to/a/less-file.less\" ]\n  }\n}\n```\n\n### template\n\n`swagger-to-html` uses a Handlebars-template to convert the swagger-definition into a static html-page. The default template\nis part of the module. The path to a custom template can be specified in this option.\n\n### partials\n\nThis option contains an object of partial-definitions that a registered with Handlebars to be used by the template.\n\nThe recommended use of this option is the following:\n\n* The key of each entry is the name-prefix of some partials.\n* The value of each entry contains a directory containing these partials.\n\n```js\n{\n  partials: {\n    custom: \"directory1\"\n  }\n}\n```\n\nWith files `directory1` containing file `a.hbs` and `b.hbs`, the registered partials, you can\nus the following in you handlebars-template to call the partials.\n\n```hbs\nPartial-A: {>custom/a}\nPartial-B: {>custom/b}\n```\n\nThe directory is traversed recursively, so there might appear partials like `custom/subdir/c` as\nwell.\n\nThe following partials are included by default: (*Warning! This list is outdated*)\n\n* **swagger-to-html/htmlBody**  renders the whole html-body contents.\n* **swagger-to-html/path** renders a single path definition.\n* **swagger-to-html/method** renders a single method definition.\n* **swagger-to-html/parameters** renders the request-parameters of a single request (path-method).\n* **swagger-to-html/responses** renders the response definitions of a request.\n* **swagger-to-html/definitions** renders the `definitions` part of the swagger-json.\n\nThose can be overridden by specifying a partial-directory `swagger-to-html`:\n\n```js\n{\n  partials: {\n    custom: \"directory1\",\n    \"swagger-to-html\": \"directory2\",\n  }\n}\n```\n\nInternally, this definition will be used to extend the default configuration to\n\n```js\n{\n  partials: {\n    module1: [ \"directory1\" ],\n    \"swagger-to-html\": [ \"template/partials\", \"directory2\"],\n  }\n}\n```\n\nAll files in `directory2` and `template/partials` will now be registered as partials. If files\nwith the same name occur in both directories, they the later directory (i.e. `directory2`)\noverwrite previous definitions: If `directory2` contains a single file\n`htmlBody.hbs`, it will override the default `swagger-to-html/htmlBody` partial. All other\ndefault partials are still being used.\n\n#### Deprecated configuration\n\nPrevious versions did not support partial-directories, but\nonly partial-files.\n\n```js\n{\n  partials: {\n    customPartial: \"path/to/file.hbs\"\n  }\n}\n```\nSuch configuration is now deprecated, but still works. If `path/to/file.hbs` is not a\ndirectory, but a regular file, the partial is registered by the entry's key (i.e. `customPartial`).\n\nHowever, partial-fils can **not** be used to override partials in partial-directories.\nOne might think that the following should work:\n\n```js\n{  partials: {   \"swagger-to-html/htmlBody\": \"path/to/file.hbs\"} }\n```\n\nHowever, it is **not defined**, which file (the default-partial or the custom-partial)\nis used in such a case. Entries of the `partials`-object are processed in parallel,\nso which partial overrides probably depends on the I/O timing for reading the directory and files.\nIt may also depend on the traversing order of the object's keys.\n\n### helpers (*Warning: List is outdated*)\n\nThis object contains name-function mapping of Handlebars-helpers used by the template. Additional\nhelpers can be provided and existing helpers can be overridden. The following helpers exist in the default configuration:\n\n* `toUpperCase`: Generate uppercase letters of a string (used to write the HTTP-method)\n* `methodClass`: A mapping from HTTP-method to CSS-class\n* `md`: Runs the input string through `marky-markdown` to allow markdown-content in description properties.\n* `datatype`: Renders the \"type\" attribute of a parameter. Array types are rendered as `type[]`\n* `json`: Used to render schema-properties. The javascript object defining the schema is `json-stable-stringify`d.\n  `$ref`-tags pointing to `#/definitions/...` are changed into links to the particular definition.\n\n\n### less.paths\n\nThis option is a list of additional lesscss include-paths. Use this option, if your main lesscss-file needs\nto @import files from some directories.\n\n### less.main\n\nThis option is an array of additional lesscss-files that can contain theme-adaptions.\nYou can use it (for example) to specify different color schemes for the css. Take a look at\n[the bootstrap documention](http://getbootstrap.com/css/#less) to see what can be changed in the bootstrap-theme.\n\nThe less-file provided here, is imported after all other less-files in use, so you should be able\nto override all properties in here.\n\n## Module structure\n\n* **bin** contains the command-line-interface javascript\n* **src** contains the javascript-files source files\n* **example** contains the petstore-example and the generated html\n* **styles** contains the less-files adapting the bootstrap-theme\n* **templates** contains the default Handlebars-template and partials\n* **target** is the directory that is created when you run `npm test`\n* **tests** contains some unit tests\n\n## TODOs\n\n\n* Provide a more complex example with custom configuration file\n* The Handlebars template is not complete yet. Missing parts:\n  * Tags\n  * Most parts of the \"info\"-block are still missing.\n* Write unit tests\n* Include css-directives for [CSS Paged Media Module Level 3](http://www.w3.org/TR/css3-page/) in order to\n  create a nicer print version (printable e.g. with [WeasyPrint](http://weasyprint.org)). This should include:\n  * Appropriate page header- and footer-lines.\n  * Cross-references containing page- or chapter-numbers\n* Include better navigation [affix](http://getbootstrap.com/javascript/#affix) for browser view and a table of contents\n  for printing.\n* Production version with inlined css\n* Option to run WeasyPrint to generate a PDF.\n* **Extract the code part into its own module so that it can be reused with other templates**\n\n\n\n## Changelog\n\n#### 2015-03-12 - Version 0.3.0\n\n* Updated template and partials to draw a more readble version of the swagger-models.\n* Some template refactorings\n* Almost all labels and section headers are are now configurable in LESS\n* Fix for loading custom config file via command line.\n* Included custom-config-example in \"example\" TODO: document example\n\n\n#### 2015-03-08 - Version 0.2.3\n\n* Add Handlebars option `preventIndent` to fix wrong layout of `<pre>`-tags (json-schema parts)\n\n#### 2015-03-07 - Version 0.2.2\n\n* Update documentation\n* Possibility to specify strings as partial-directories (instead of arrays)\n* Fix broken programmatic usage\n\n#### 2015-03-05 - Version 0.2.1\n\n* Fix README markup for code examples\n\n#### 2015-03-05 - Version 0.2.0\n\n* Development mode with file-system-watcher, live-reload server and LESS-source-maps\n* Partial-configurations can now contain directories.\n* Use [marked](https://www.npmjs.com/package/marked), [highlight.js](https://www.npmjs.com/package/highlight.js)\n  and [cheerio](https://www.npmjs.com/package/cheerio) instead of\n  [marky-markdown](https://www.npmjs.com/package/marky-markdown). The latter does not seem to work on MS-Windows.\n\n#### 2015-03-02 - Version 0.1.0\n\n* Refactoring: More main template divided into more partials\n* Changing config-options for lesscss\n* Define custom css classes for method-headers (GET, POST, PUT, ...)\n\n#### 2015-03-01 - Version 0.0.2 - 0.0.5\n\n* Changes in README\n\n#### 2015-03-01 - Version 0.0.1\n\n* Initial version\n\n\n","maintainers":[{"name":"knappi","email":"npm@knappi.org"}],"time":{"modified":"2022-06-27T02:47:27.509Z","created":"2015-03-01T00:38:03.030Z","0.0.1":"2015-03-01T00:38:03.030Z","0.0.2":"2015-03-01T00:39:38.273Z","0.0.3":"2015-03-01T00:41:33.082Z","0.0.4":"2015-03-01T00:42:58.113Z","0.0.5":"2015-03-01T00:44:13.132Z","0.1.0":"2015-03-02T23:47:25.615Z","0.2.0":"2015-03-05T21:35:48.805Z","0.2.1":"2015-03-05T21:40:03.378Z","0.2.2":"2015-03-07T07:13:49.327Z","0.2.3":"2015-03-08T06:59:25.639Z","0.3.0":"2015-03-12T22:39:42.940Z","0.4.0":"2015-03-15T14:43:03.080Z"},"homepage":"https://github.com/nknapp/swagger-to-html","repository":{"type":"git","url":"https://github.com/nknapp/swagger-to-html.git"},"author":{"name":"Nils Knappmeier"},"bugs":{"url":"https://github.com/nknapp/swagger-to-html/issues"},"license":"MIT","readmeFilename":"README.md"}