{"id":14994218,"url":"https://github.com/lsanchezvv/swagger-express-api-baseline","last_synced_at":"2026-01-28T23:32:56.563Z","repository":{"id":124992495,"uuid":"358928791","full_name":"lsanchezvv/swagger-express-api-baseline","owner":"lsanchezvv","description":"Baseline to create a swagger-node-runner project. Uses the openApi standard.","archived":false,"fork":false,"pushed_at":"2021-04-17T16:46:50.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T04:00:24.028Z","etag":null,"topics":["documentation","express","nodejs","openapi","openapi-spec","swagger"],"latest_commit_sha":null,"homepage":"","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/lsanchezvv.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":"2021-04-17T16:30:38.000Z","updated_at":"2021-04-17T16:50:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c5a825e-ba5a-4b73-8e68-9dbe042778a7","html_url":"https://github.com/lsanchezvv/swagger-express-api-baseline","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"c310225463122e0cd19fd600400a1cbb9c558642"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lsanchezvv/swagger-express-api-baseline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsanchezvv%2Fswagger-express-api-baseline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsanchezvv%2Fswagger-express-api-baseline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsanchezvv%2Fswagger-express-api-baseline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsanchezvv%2Fswagger-express-api-baseline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsanchezvv","download_url":"https://codeload.github.com/lsanchezvv/swagger-express-api-baseline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsanchezvv%2Fswagger-express-api-baseline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28855149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"ssl_error","status_checked_at":"2026-01-28T22:56:00.861Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["documentation","express","nodejs","openapi","openapi-spec","swagger"],"created_at":"2024-09-24T16:01:11.455Z","updated_at":"2026-01-28T23:32:56.524Z","avatar_url":"https://github.com/lsanchezvv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swagger-express-api-baseline\n\nWant to write your endpoint and the documentation for it at the same time? You can try swagger-node-runner.\nThis project creates a simple swagger express API endpoint baseline using nodejs.\n\nThe main goal of this project is to quickly spin up a project that allows you to define api's using the OpenApi Specification.\n\n# Running locally\n1. Run `npm install`\n2. Run `npm start`\n\nVisit http://localhost:10014/api-docs to see the documentation. Note: If no PORT is defined on the .env file, the default port is assigned: 10014.\n\nTo test visit http://localhost:10014/v1/hello using your browser or postman.\n\n# Defining new endpoints\nTo define new endpoints, create a new path in the ~/swagger/swagger.yaml file.\nYou can assign a new controller or use the existing one.\n\nThe `x-swagger-router-controller` property needs to have the same name as the new controller filename.\nThe `operationId` is the exported name function for the controller.\nThe `basePath` property is optional, in case you need your endpoint to have a base path.\n\nVisit https://swagger.io/specification/v2/ for more information on how to use the open API specification.\n\n# Published using heroku\nTo call the endpoint example visit: https://swagger-express-api-baseline.herokuapp.com/v1/hello\n\nTo see the api documentation: https://swagger-express-api-baseline.herokuapp.com/v1/hello\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsanchezvv%2Fswagger-express-api-baseline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsanchezvv%2Fswagger-express-api-baseline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsanchezvv%2Fswagger-express-api-baseline/lists"}