{"id":15788277,"url":"https://github.com/dilipkrish/spring-cli-mvc-swagger","last_synced_at":"2025-03-31T18:23:59.854Z","repository":{"id":142945128,"uuid":"23818038","full_name":"dilipkrish/spring-cli-mvc-swagger","owner":"dilipkrish","description":"Documenting your tweetable services","archived":false,"fork":false,"pushed_at":"2014-09-09T04:09:49.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-05T21:41:40.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dilipkrish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-09T03:29:03.000Z","updated_at":"2014-09-09T04:19:09.000Z","dependencies_parsed_at":"2023-03-15T18:25:48.039Z","dependency_job_id":null,"html_url":"https://github.com/dilipkrish/spring-cli-mvc-swagger","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/dilipkrish%2Fspring-cli-mvc-swagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilipkrish%2Fspring-cli-mvc-swagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilipkrish%2Fspring-cli-mvc-swagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilipkrish%2Fspring-cli-mvc-swagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dilipkrish","download_url":"https://codeload.github.com/dilipkrish/spring-cli-mvc-swagger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246515929,"owners_count":20790140,"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-04T21:41:37.194Z","updated_at":"2025-03-31T18:23:59.832Z","avatar_url":"https://github.com/dilipkrish.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"Documenting your tweetable services\n===================================\n\nStarting from where [getting started with spring boot cli](http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#getting-started-cli-example) leaves you... here is a quick start guide to documenting your _tweetable_ services.\n\nThis example uses [swagger-springmvc](https://github.com/martypitt/swagger-springmvc)\n\n- Grab dependencies\n```groovy\n  @Grab(group='com.mangofactory', module='swagger-springmvc', version='0.8.8') \n  @Grab(group='org.ajar', module='swagger-spring-mvc-ui', version='0.2') //Webjar to support swagger UI\n```\n- Enable swagger support - add the following annotations to the controller\n```\n@com.mangofactory.swagger.plugin.EnableSwagger\n```\n- Run the application\n```bash\nspring run app.groovy\n```\n- Documentation should be available @ http://localhost:8080/index.html\n- Replace the stalk swagger end-point with http://localhost:8080/api-docs\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilipkrish%2Fspring-cli-mvc-swagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdilipkrish%2Fspring-cli-mvc-swagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilipkrish%2Fspring-cli-mvc-swagger/lists"}