{"id":21655656,"url":"https://github.com/ruslantolstov/rswag-example","last_synced_at":"2025-04-11T21:30:40.372Z","repository":{"id":35673334,"uuid":"194390546","full_name":"ruslantolstov/rswag-example","owner":"ruslantolstov","description":"Demo how to use rswag-api, rswag-specs.","archived":false,"fork":false,"pushed_at":"2023-03-08T20:12:17.000Z","size":100,"stargazers_count":21,"open_issues_count":22,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-10T16:55:17.734Z","etag":null,"topics":["api","rswag","rswag-api","rswag-specs","ruby","swagger"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/ruslantolstov.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":"2019-06-29T09:57:05.000Z","updated_at":"2022-10-27T12:14:22.000Z","dependencies_parsed_at":"2024-11-25T08:43:57.835Z","dependency_job_id":null,"html_url":"https://github.com/ruslantolstov/rswag-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/ruslantolstov%2Frswag-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruslantolstov%2Frswag-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruslantolstov%2Frswag-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruslantolstov%2Frswag-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruslantolstov","download_url":"https://codeload.github.com/ruslantolstov/rswag-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248482826,"owners_count":21111387,"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":["api","rswag","rswag-api","rswag-specs","ruby","swagger"],"created_at":"2024-11-25T08:33:41.865Z","updated_at":"2025-04-11T21:30:40.335Z","avatar_url":"https://github.com/ruslantolstov.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nDemo how to use rswag-api, rswag-specs.\n \n\n### Setup\n\n```\ncp .env.example .env\nrails db:create db:migrate\nrails server\n```\n\n### Setup Docker\n```\ndocker-compose build\ndocker-compose up\ndocker-compose run web rake db:create db:migrate\nopen http://localhost:3000/\n```\nUse `docker attach ID` to get into the running container, for detach without exit `Ctrl-p`, `Ctrl-q`\n\n### Generate the Swagger JSON file\n\n```\nrake rswag:specs:swaggerize\nopen http://localhost:3000/api/docs/client/swagger.json\nopen http://localhost:3000/api/docs/backoffice/swagger.json\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruslantolstov%2Frswag-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruslantolstov%2Frswag-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruslantolstov%2Frswag-example/lists"}