{"id":18663314,"url":"https://github.com/dpecos/rest-swagger-example","last_synced_at":"2025-04-11T21:32:08.582Z","repository":{"id":46832613,"uuid":"102464331","full_name":"dpecos/rest-swagger-example","owner":"dpecos","description":"Example of a Swagger REST API in Node.js ","archived":false,"fork":false,"pushed_at":"2024-12-18T07:24:53.000Z","size":478,"stargazers_count":15,"open_issues_count":14,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T19:08:30.638Z","etag":null,"topics":["express","nodejs","rest","swagger"],"latest_commit_sha":null,"homepage":"https://danielpecos.com/2017/09/06/rest-api-with-node-js-and-swagger","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpecos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-05T09:48:46.000Z","updated_at":"2024-11-01T06:48:03.000Z","dependencies_parsed_at":"2024-03-27T06:23:17.990Z","dependency_job_id":"09d6af05-61c4-4c13-8130-da558208ad3d","html_url":"https://github.com/dpecos/rest-swagger-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpecos%2Frest-swagger-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpecos%2Frest-swagger-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpecos%2Frest-swagger-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpecos%2Frest-swagger-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpecos","download_url":"https://codeload.github.com/dpecos/rest-swagger-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248483082,"owners_count":21111420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","nodejs","rest","swagger"],"created_at":"2024-11-07T08:16:00.321Z","updated_at":"2025-04-11T21:32:08.264Z","avatar_url":"https://github.com/dpecos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"About\n=====\n\nProject showing how to setup Swagger for a REST API develop with Node.js and Express.\n\nMore details in the blog entry: https://danielpecos.com/2017/09/06/rest-api-with-node-js-and-swagger\n\nInstallation\n============\n\n    npm install\n    npm start\n\nSwagger documentation - HTML and JSON\n===================================\n\n* Swagger UI:\n \n \n     http://localhost:3000/api/docs\n\n* JSON: \n\n\n     http://localhost:3000/api/docs/json\n\nREST API Endpoints\n==================\n\n* *GET* http://localhost:3000/api/stocks\n* *GET* http://localhost:3000/api/stocks/1\n* *POST* http://localhost:3000/api/stocks\n* *PUT* http://localhost:3000/api/stocks/1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpecos%2Frest-swagger-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpecos%2Frest-swagger-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpecos%2Frest-swagger-example/lists"}