{"id":16696974,"url":"https://github.com/seratch/spring-boot-swagger-demo","last_synced_at":"2025-04-10T02:52:34.308Z","repository":{"id":139894300,"uuid":"52074023","full_name":"seratch/spring-boot-swagger-demo","owner":"seratch","description":"Spring Boot example to demonstrate how to integrate Swagger 2.0 and swagger-codegen","archived":false,"fork":false,"pushed_at":"2016-02-21T23:01:38.000Z","size":77,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T04:22:33.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seratch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-19T08:44:16.000Z","updated_at":"2021-07-20T14:08:48.000Z","dependencies_parsed_at":"2023-05-06T03:13:50.358Z","dependency_job_id":null,"html_url":"https://github.com/seratch/spring-boot-swagger-demo","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/seratch%2Fspring-boot-swagger-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fspring-boot-swagger-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fspring-boot-swagger-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fspring-boot-swagger-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seratch","download_url":"https://codeload.github.com/seratch/spring-boot-swagger-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248147130,"owners_count":21055482,"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":[],"created_at":"2024-10-12T17:45:33.637Z","updated_at":"2025-04-10T02:52:34.261Z","avatar_url":"https://github.com/seratch.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Spring Boot Swagger Demo\n\nThis sample application shows you how to do the following things:\n\n- Swagger 2.0 Integration\n- Swagger CodeGen Integration\n- Testing services\n- Testing controllers\n- Running integration tests with RestAssured / embedded Spring Boot server\n- Enabling Spring Loaded when running spring-boot app on Maven plugin\n\n## Getting Started\n\n### Invoking Spring Boot server\n\nspring-boot maven plugin requires Maven 3.\n\n```\nbrew install maven\nmvn spring-boot:run\n```\n\nSwagger integration is already available:\n\n- http://localhost:8080/v2/api-docs\n- http://localhost:8080/swagger-ui.html#/\n\nRun all the tests:\n\n```\nmvn test\n```\n\n### Generating Swagger client implementation\n\n```\nbrew install swagger-codegen\n./generate-client.sh\n```\n\n`generate-client.sh` outputs Java source code into ./client directory and does `mvn install`.\n \n### Trying Swagger client implementation\n\n```\ncd ./client-test\n./gradew test\n```\n\n## License\n\nThe MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fspring-boot-swagger-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseratch%2Fspring-boot-swagger-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fspring-boot-swagger-demo/lists"}