{"id":15375031,"url":"https://github.com/lganzzzo/example-oatpp-swagger","last_synced_at":"2025-04-05T17:41:52.608Z","repository":{"id":94411161,"uuid":"151840563","full_name":"lganzzzo/example-oatpp-swagger","owner":"lganzzzo","description":"Example project oatpp service with swagger-ui","archived":false,"fork":false,"pushed_at":"2019-01-29T22:56:43.000Z","size":326,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T14:47:02.694Z","etag":null,"topics":["example-project","oatpp","swagger-ui","web-service"],"latest_commit_sha":null,"homepage":"","language":"C++","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/lganzzzo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-06T13:04:16.000Z","updated_at":"2019-01-29T22:56:45.000Z","dependencies_parsed_at":"2023-04-23T02:28:07.305Z","dependency_job_id":null,"html_url":"https://github.com/lganzzzo/example-oatpp-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/lganzzzo%2Fexample-oatpp-swagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lganzzzo%2Fexample-oatpp-swagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lganzzzo%2Fexample-oatpp-swagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lganzzzo%2Fexample-oatpp-swagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lganzzzo","download_url":"https://codeload.github.com/lganzzzo/example-oatpp-swagger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378087,"owners_count":20929291,"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":["example-project","oatpp","swagger-ui","web-service"],"created_at":"2024-10-01T14:00:50.654Z","updated_at":"2025-04-05T17:41:52.572Z","avatar_url":"https://github.com/lganzzzo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"**ATTENTION**\n\nThis example is outdated.  \nInstead see:  \n[https://github.com/oatpp/example-crud](https://github.com/oatpp/example-crud) \n\n**ATTENTION**\n\n\n# example-oatpp-swagger\nc++/oat++ Web Service with Swagger-UI and auto-documented endpoints\n\nMore about oatpp see [https://oatpp.io/](https://oatpp.io/)  \nMore about oatpp-swagger [https://github.com/oatpp/oatpp-swagger](https://github.com/oatpp/oatpp-swagger)  \nMore about Swagger UI see [https://swagger.io/tools/swagger-ui/](https://swagger.io/tools/swagger-ui/)\n\n## Build and run\n\n1) Git-Clone examples repo:\n```\n$ git clone --recurse-submodules https://github.com/lganzzzo/example-oatpp-swagger\n```\n2) CD to example-oatpp-swagger\n```\ncd example-oatpp-swagger/\n```\n3) Build project\n```\n./build_app.sh\n```\nor (same as in build_app.sh)\n```\ng++ -std=gnu++11 \\\n-pthread \\\n`find \"./lib/oatpp/\" -type f -name *.cpp` \\\n`find \"./src/\" -type f -name *.cpp` \\\n`find \"./lib/oatpp-swagger/\" -type f -name *.cpp` \\\n-I \"./lib\" \\\n-I \"./src\" \\\n-D OATPP_USE_TARGET \\\n-D OATPP_TARGET_APP \\\n-D OATPP_DISABLE_ENV_OBJECT_COUNTERS \\\n-O2 \\\n-Wall \\\n-o run_app\n\nchmod +x run_app\n```\n4) Run app\n```\n./run_app\n```\n\nenjoy!\n\n## More\nIf you can't build app.- probably you need to [install build-essential](https://www.google.com.ua/search?q=install+build-essentials)\n\n## Xcode, MAC\nXcode project included\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flganzzzo%2Fexample-oatpp-swagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flganzzzo%2Fexample-oatpp-swagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flganzzzo%2Fexample-oatpp-swagger/lists"}