{"id":15091340,"url":"https://github.com/okunev-e/restapi_examples","last_synced_at":"2026-02-06T06:01:40.249Z","repository":{"id":210124015,"uuid":"725802730","full_name":"okunev-e/restapi_examples","owner":"okunev-e","description":"Contract API (REST and may be others) examples","archived":false,"fork":false,"pushed_at":"2023-12-01T12:51:50.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T08:48:20.492Z","etag":null,"topics":["openapi-specification","openapi3","rest-api","restapi","restfull-api","swagger"],"latest_commit_sha":null,"homepage":"","language":null,"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/okunev-e.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":"2023-11-30T22:48:41.000Z","updated_at":"2023-11-30T23:11:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea3e0c03-1cba-473a-9fad-e7a1bfebf0c7","html_url":"https://github.com/okunev-e/restapi_examples","commit_stats":null,"previous_names":["okunev-e/restapi_examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/okunev-e/restapi_examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunev-e%2Frestapi_examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunev-e%2Frestapi_examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunev-e%2Frestapi_examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunev-e%2Frestapi_examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okunev-e","download_url":"https://codeload.github.com/okunev-e/restapi_examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okunev-e%2Frestapi_examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29153137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["openapi-specification","openapi3","rest-api","restapi","restfull-api","swagger"],"created_at":"2024-09-25T10:40:30.469Z","updated_at":"2026-02-06T06:01:40.229Z","avatar_url":"https://github.com/okunev-e.png","language":null,"readme":"# Примеры проектирования API\n---\n#### Содержание\n- [Описание REST API с JSON](#restapi_json)\n---\n\nВ этом разделе хочу показать примеры описания контрактов API, которые приходилось выполнять на разных проектах.\n\n---\n### \u003ca name=\"restapi_json\"\u003eОписание контрактов API, предоставляемых через веб-сервис REST API\u003c/a\u003e\nРазработка описания выполнялась в Swagger.\nИсходный код: [openapi_example.yml](https://github.com/okunev-e/restapi_examples/blob/main/swagger/openapi_example.yml)\nПример прошел успешную валидацию на [swagger.io](https://editor.swagger.io/) и на [yamllint.com](https://www.yamllint.com/).\nПосмотреть вживую можно по этой ссылке: [посмотреть пример](https://petstore.swagger.io/?url=https://raw.githubusercontent.com/okunev-e/restapi_examples/main/swagger/openapi_example.yml).\n\n\u003ca href=\"https://petstore.swagger.io/?url=https://raw.githubusercontent.com/okunev-e/restapi_examples/main/swagger/openapi_example.yml\"\u003e\u003cimg src=\"https://github.com/okunev-e/restapi_examples/blob/main/imgs/openapi_example.png\" width=\"800\"/\u003e\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokunev-e%2Frestapi_examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokunev-e%2Frestapi_examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokunev-e%2Frestapi_examples/lists"}