{"_id":"@4geit/swg-hello-path","_rev":"13-470f76d9f68b007a572b98dc58a8f75e","name":"@4geit/swg-hello-path","time":{"modified":"2022-04-04T10:46:52.007Z","created":"2017-06-18T23:41:27.709Z","1.0.0":"2017-06-18T23:41:27.709Z","1.0.1":"2017-06-18T23:51:11.417Z","1.0.2":"2017-06-18T23:59:40.958Z","1.5.0":"2017-08-27T00:32:23.014Z","1.10.1":"2017-09-18T15:12:41.654Z","1.15.1":"2017-09-23T18:18:13.029Z","1.19.1":"2017-09-26T09:29:12.419Z","1.28.0":"2017-10-06T09:42:20.715Z","1.31.0":"2017-10-22T20:11:52.523Z"},"maintainers":[{"email":"geraldine@starke.fr","name":"geraldinestarke"},{"email":"Fabian@starke.fr","name":"fabianstarke"},{"email":"caner@candan.fr","name":"canercandan"}],"dist-tags":{"latest":"1.31.0"},"versions":{"1.0.1":{"name":"@4geit/swg-hello-path","version":"1.0.1","description":"add a dummy path that enables an hello world endpoint in your api","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@gitlab.com:4geit/swagger/swg-hello-path.git"},"bugs":{"url":"https://gitlab.com/4geit/swagger/swg-hello-path/issues"},"homepage":"https://gitlab.com/4geit/swagger/swg-hello-path#README","keywords":[],"author":{"name":"Caner Candan","email":"caner@candan.fr"},"license":"MIT","_id":"@4geit/swg-hello-path@1.0.1","gitHead":"e315f1086cc0dda6de49c8a69cfe2116b490b92f","_npmVersion":"5.0.3","_nodeVersion":"8.1.1","_npmUser":{"name":"canercandan","email":"caner@candan.fr"},"dist":{"integrity":"sha512-DQ35T/whmtw5cJtqy8dZhtXbMwv66rm1csTalSd5yFSutyThqEoeszwAkfPSo3z7mzQ0fQwffZWHLTqX78EZ5g==","shasum":"a23c55bfec433c6d684b86211d3d82022c5dcc12","tarball":"https://registry.npmjs.org/@4geit/swg-hello-path/-/swg-hello-path-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZnX7jZ5QZZY+OY7NGPjTjNh37Kkn+OHj/U5OAfcaNowIgYS9nlbeXI4HD7v3+7iWAL2/khREwmTVnqpsf3JPabhU="}]},"maintainers":[{"email":"caner@candan.fr","name":"canercandan"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swg-hello-path-1.0.1.tgz_1497829870471_0.7503185560926795"}},"1.0.2":{"name":"@4geit/swg-hello-path","version":"1.0.2","description":"add a dummy path that enables an hello world endpoint in your api","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@gitlab.com:4geit/swagger/swg-hello-path.git"},"bugs":{"url":"https://gitlab.com/4geit/swagger/swg-hello-path/issues"},"homepage":"https://gitlab.com/4geit/swagger/swg-hello-path#README","keywords":[],"author":{"name":"Caner Candan","email":"caner@candan.fr"},"license":"MIT","_id":"@4geit/swg-hello-path@1.0.2","gitHead":"9275c3811bfa883b6908e4988cdbed0ed703f03c","_npmVersion":"5.0.3","_nodeVersion":"8.1.1","_npmUser":{"name":"canercandan","email":"caner@candan.fr"},"dist":{"integrity":"sha512-hSjbM+WntOQmxzkpO/2HX71iPVh0N/NTNLFaVhT2hRm1HvzXbn8D+DjpbNFUe+b8/t4RzAr/f5iJPnpyP60ZXQ==","shasum":"34fac86606581e7017c35746760bc92e1f98244e","tarball":"https://registry.npmjs.org/@4geit/swg-hello-path/-/swg-hello-path-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+7aK9rjxIfWwchHlwZaFqGR4/5JMY2bD8N8uu+IZekAiEAgofKbUfBt0LFVxJA55099p4Hax9cQqwwUvAMwi1j8kg="}]},"maintainers":[{"email":"caner@candan.fr","name":"canercandan"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swg-hello-path-1.0.2.tgz_1497830379956_0.34211011906154454"}},"1.5.0":{"name":"@4geit/swg-hello-path","version":"1.5.0","description":"add a dummy path that enables an hello world endpoint in your api","main":"index.js","bugs":{"url":"https://gitlab.com/4geit/swagger-packages/issues"},"homepage":"https://gitlab.com/4geit/swagger-packages/tree/master/swg-hello-path#README","keywords":[],"author":{"name":"Caner Candan","email":"caner@candan.fr"},"license":"MIT","publishConfig":{"access":"public"},"_id":"@4geit/swg-hello-path@1.5.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"canercandan","email":"caner@candan.fr"},"dist":{"integrity":"sha512-rODhmmangxJLQjVFFokKXjpuuW1URSOjohTPXLhhsraeoEwpJTZO0EMsUH9mDcwCFStquKDI9nXG7muM4I9r4g==","shasum":"bc081b0dc3f3c144f2e0060bc981b4e1ba80fd6a","tarball":"https://registry.npmjs.org/@4geit/swg-hello-path/-/swg-hello-path-1.5.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGp0ut3wiH3Z+qDKNHyRLc5hOIZbMOvKQOOtxqjugRO/AiEAhlJeXKNssgJv3MGRONv7MqIPOwe+UQghN5avJaTamfQ="}]},"maintainers":[{"email":"geraldine@starke.fr","name":"geraldinestarke"},{"email":"Fabian@starke.fr","name":"fabianstarke"},{"email":"caner@candan.fr","name":"canercandan"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swg-hello-path-1.5.0.tgz_1503793942139_0.6609585001133382"}},"1.10.1":{"name":"@4geit/swg-hello-path","version":"1.10.1","description":"add a dummy path that enables an hello world endpoint in your api","main":"index.js","bugs":{"url":"https://gitlab.com/4geit/swagger-packages/issues"},"homepage":"https://gitlab.com/4geit/swagger-packages/tree/master/packages/swg-hello-path#README","keywords":[],"author":{"name":"Caner Candan","email":"caner@candan.fr"},"license":"MIT","publishConfig":{"access":"public"},"_id":"@4geit/swg-hello-path@1.10.1","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"canercandan","email":"caner@candan.fr"},"dist":{"integrity":"sha512-NGSAm+/lQFGdYxYzVOszYiHHtBoUTF/Gu2aPf9CrgVtD6+A3ekhdJ1eEZ89ArW5FlUYV9WjuYIu8eU5LMzO7kA==","shasum":"67dd5c79e02974036df6f3b33098dd5deebd44d8","tarball":"https://registry.npmjs.org/@4geit/swg-hello-path/-/swg-hello-path-1.10.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFi/AdTB3EuQcbfH2f0P5HALc93GOVloCu5sxljF7h1MAiBgIxUuRK3ZBa4AUv6j6SBRC+jQlBGwE2qYFtkUhqk+BQ=="}]},"maintainers":[{"email":"geraldine@starke.fr","name":"geraldinestarke"},{"email":"Fabian@starke.fr","name":"fabianstarke"},{"email":"caner@candan.fr","name":"canercandan"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swg-hello-path-1.10.1.tgz_1505747559042_0.2620272252243012"}},"1.15.1":{"name":"@4geit/swg-hello-path","version":"1.15.1","description":"add a dummy path that enables an hello world endpoint in your api","main":"index.js","bugs":{"url":"https://gitlab.com/4geit/swagger-packages/issues"},"homepage":"https://gitlab.com/4geit/swagger-packages/tree/master/packages/swg-hello-path#README","keywords":[],"author":{"name":"Caner Candan","email":"caner@candan.fr"},"license":"MIT","publishConfig":{"access":"public"},"_id":"@4geit/swg-hello-path@1.15.1","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"canercandan","email":"caner@candan.fr"},"dist":{"integrity":"sha512-xD9tqD0Yhq0VNzR3t7SHIIc4oh4VOgzJaQihFWIoluyLOg4m9nzM0uyfEQV2a5NITi9F63ZZ2WibgM13G3uPPg==","shasum":"6a38f2763863e9eddcccce5d96f26b670b2d91fc","tarball":"https://registry.npmjs.org/@4geit/swg-hello-path/-/swg-hello-path-1.15.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNvOPF23sXEm4FamYsC4/QCsBFOQwRel36eHibjmuxEAIgePUdoFSYfuixi4MXTX2J4NNyHYi50IdacjONRjw4B8g="}]},"maintainers":[{"email":"geraldine@starke.fr","name":"geraldinestarke"},{"email":"Fabian@starke.fr","name":"fabianstarke"},{"email":"caner@candan.fr","name":"canercandan"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swg-hello-path-1.15.1.tgz_1506190692122_0.9643134833313525"}},"1.19.1":{"name":"@4geit/swg-hello-path","version":"1.19.1","description":"add a dummy path that enables an hello world endpoint in your api","main":"index.js","bugs":{"url":"https://gitlab.com/4geit/swagger-packages/issues"},"homepage":"https://gitlab.com/4geit/swagger-packages/tree/master/packages/swg-hello-path#README","keywords":[],"author":{"name":"Caner Candan","email":"caner@candan.fr"},"license":"MIT","dependencies":{"@4geit/swg-check-availability-helper":"^1.15.1","@4geit/swg-destructuring-parameters-helper":"^1.15.1","@4geit/swg-get-user-with-credentials-helper":"^1.15.1","@4geit/swg-use-db-helper":"^1.15.1"},"publishConfig":{"access":"public"},"_id":"@4geit/swg-hello-path@1.19.1","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"canercandan","email":"caner@candan.fr"},"dist":{"integrity":"sha512-+HjIM6CaDyHCBwTAVm01LFTXCF+2CcMGiyIr2tqVcX/2nOVDmUgUPTBhjM5m3mzFqCv2LB/5TkjGpG96JA5HqQ==","shasum":"f7ce082c797d3ca3214ac371b1eaa0c14c053a8e","tarball":"https://registry.npmjs.org/@4geit/swg-hello-path/-/swg-hello-path-1.19.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFp1omBwkThB+qcPZqk73wg/j6awfyyu5MhPpuegGP4+AiBmQstB3OjEwZo9pwwtBkpO/5AqTpuFB6cFQQkjddmOuw=="}]},"maintainers":[{"email":"geraldine@starke.fr","name":"geraldinestarke"},{"email":"Fabian@starke.fr","name":"fabianstarke"},{"email":"caner@candan.fr","name":"canercandan"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swg-hello-path-1.19.1.tgz_1506418151591_0.33500313316471875"}},"1.28.0":{"name":"@4geit/swg-hello-path","version":"1.28.0","description":"add a dummy path that enables an hello world endpoint in your api","main":"index.js","bugs":{"url":"https://gitlab.com/4geit/swagger-packages/issues"},"homepage":"https://gitlab.com/4geit/swagger-packages/tree/master/packages/swg-hello-path#README","keywords":[],"author":{"name":"Caner Candan","email":"caner@candan.fr"},"license":"MIT","dependencies":{"@4geit/swg-check-availability-helper":"^1.28.0","@4geit/swg-destructuring-parameters-helper":"^1.28.0","@4geit/swg-get-user-with-credentials-helper":"^1.28.0","@4geit/swg-use-db-helper":"^1.28.0"},"publishConfig":{"access":"public"},"_id":"@4geit/swg-hello-path@1.28.0","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"canercandan","email":"caner@candan.fr"},"dist":{"integrity":"sha512-2avBYDN0EC3vY0lDuY5PoATh4FW8EdjeZohl7SW7yl8/kNH9nxhGzcYdFlv6k8zYTSGWeo2ibHP281hvbDz1PA==","shasum":"babf648d63cdf6635ad4ea87aa6744e4ae646144","tarball":"https://registry.npmjs.org/@4geit/swg-hello-path/-/swg-hello-path-1.28.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDESEdqRp6bxzu9QaH53vcyJ3rwK/yU0+wBdHuc93kLqAiEA5jtdA1m1IaKyLWrnxS3AuG9SNEYYSt1Thg9qbUG5MxE="}]},"maintainers":[{"email":"geraldine@starke.fr","name":"geraldinestarke"},{"email":"Fabian@starke.fr","name":"fabianstarke"},{"email":"caner@candan.fr","name":"canercandan"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swg-hello-path-1.28.0.tgz_1507282939774_0.41685840813443065"}},"1.31.0":{"name":"@4geit/swg-hello-path","version":"1.31.0","description":"add a dummy path that enables an hello world endpoint in your api","main":"index.js","bugs":{"url":"https://gitlab.com/4geit/swagger-packages/issues"},"homepage":"https://gitlab.com/4geit/swagger-packages/tree/master/packages/swg-hello-path#README","keywords":[],"author":{"name":"Caner Candan","email":"caner@candan.fr"},"license":"MIT","dependencies":{"@4geit/swg-check-availability-helper":"^1.31.0","@4geit/swg-destructuring-parameters-helper":"^1.31.0","@4geit/swg-get-user-with-credentials-helper":"^1.28.0","@4geit/swg-use-db-helper":"^1.28.0"},"publishConfig":{"access":"public"},"_id":"@4geit/swg-hello-path@1.31.0","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"canercandan","email":"caner@candan.fr"},"dist":{"integrity":"sha512-/e+e0izKrtOfbB/+lpS6vV5tQnaPpassWkQy81XNB7klJlg8QVyPil3WqY6sHTnuspebjJZ3J/LlCIIVeHAVOg==","shasum":"6f5d981df39ea3740e182c35fb2648dfb5807e54","tarball":"https://registry.npmjs.org/@4geit/swg-hello-path/-/swg-hello-path-1.31.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlUSgc8VvVAJ/5v06yUOKuUjZcxWjYxOHYT5G/rtReLwIhAPyhyed2+xrEnzmpL9JPXLyPIiME2J0dd3pA9GpzKquI"}]},"maintainers":[{"email":"geraldine@starke.fr","name":"geraldinestarke"},{"email":"Fabian@starke.fr","name":"fabianstarke"},{"email":"caner@candan.fr","name":"canercandan"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swg-hello-path-1.31.0.tgz_1508703111656_0.6500227290671319"}}},"readme":"# @4geit/swg-hello-path [![npm version](//badge.fury.io/js/@4geit%2Fswg-hello-path.svg)](//badge.fury.io/js/@4geit%2Fswg-hello-path)\n\n---\n\nadd a dummy path that enables an hello world endpoint in your api\n\n## Installation\n\n1. A recommended way to install ***@4geit/swg-hello-path*** is through [npm](//www.npmjs.com/search?q=@4geit/swg-hello-path) package manager using the following command:\n\n```bash\nnpm i @4geit/swg-hello-path --save\n```\n\nOr use `yarn` using the following command:\n\n```bash\nyarn add @4geit/swg-hello-path\n```\n\n2. In your swagger file, you need to add a reference to the `SwgHelloPath` definition under the `paths` property (e.g. `/api/swagger/swagger.yaml`) as below:\n\n```yaml\nswagger: \"2.0\"\n# ...\npaths:\n  /hello:\n    $ref: ../../node_modules/@4geit/swg-hello-path/swagger.yaml#/definitions/SwgHelloPath\n# ...\n```\n\nAnd you will also need to add the path to the `controllers` folder of the `swg-hello-path` package so that swagger-node will find the relevant controller to use. Edit the file `/config/default.yaml` and add two new paths to the properties `mockControllersDirs` and `controllersDirs` as illustrated below:\n\n```yaml\nswagger:\n  # ...\n  bagpipes:\n    _router:\n      # ...\n      mockControllersDirs:\n        # ...\n        - node_modules/@4geit/swg-hello-path/mocks\n        # ...\n      controllersDirs:\n        # ...\n        - node_modules/@4geit/swg-hello-path/controllers\n        # ...\n```\n","readmeFilename":"README.md","description":"add a dummy path that enables an hello world endpoint in your api","homepage":"https://gitlab.com/4geit/swagger-packages/tree/master/packages/swg-hello-path#README","keywords":[],"author":{"name":"Caner Candan","email":"caner@candan.fr"},"bugs":{"url":"https://gitlab.com/4geit/swagger-packages/issues"},"license":"MIT"}