{"id":22151040,"url":"https://github.com/justcoded/yii2-swaggerviewer","last_synced_at":"2025-07-26T04:31:43.422Z","repository":{"id":57003214,"uuid":"132584755","full_name":"justcoded/yii2-swaggerviewer","owner":"justcoded","description":"Yii2 Swagger docs viewer module","archived":true,"fork":false,"pushed_at":"2018-05-11T13:40:55.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T13:21:22.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","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/justcoded.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}},"created_at":"2018-05-08T09:18:44.000Z","updated_at":"2023-09-19T10:02:48.000Z","dependencies_parsed_at":"2022-08-21T12:10:42.399Z","dependency_job_id":null,"html_url":"https://github.com/justcoded/yii2-swaggerviewer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/justcoded/yii2-swaggerviewer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fyii2-swaggerviewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fyii2-swaggerviewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fyii2-swaggerviewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fyii2-swaggerviewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justcoded","download_url":"https://codeload.github.com/justcoded/yii2-swaggerviewer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justcoded%2Fyii2-swaggerviewer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267117250,"owners_count":24038640,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-02T00:29:52.888Z","updated_at":"2025-07-26T04:31:43.182Z","avatar_url":"https://github.com/justcoded.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii2 Swagger Viewer Module\n=========================\n\nViewer of a separate yaml/json swagger docs. Include swagger multi-doc merger, so you can format your docs in multiple files for faster edits.\n\nThis package is based on our SwaggerTools pack.\n\nExample of docs to view can be found here:\n[SwaggerTools docs example](https://github.com/justcoded/swagger-tools/tree/master/examples/v2.0)\n\nAs extra feature, you can provide additional properties to generate enums, which are usually \nused by mock servers to generate test responses.\nWe recommend [Prism](https://stoplight.io/platform/prism/) mock server. If you specify correct \nvalidation rules (like minimum, maximum, minItems, maxItems, etc.) it will generate nice mocks\nwith data generated by faker php lib.\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require --prefer-dist justcoded/yii2-swaggerviewer \"*\"\n```\n\nor add\n\n```\n\"justcoded/yii2-swaggerviewer\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\n\nConfiguration\n------------\n\nAdd module to your web config file:\n\n```php\n\t'modules' =\u003e [\n\t\t'swagger' =\u003e [\n\t\t\t'class' =\u003e \\justcoded\\yii2\\swaggerviewer\\Module::class,\n\t\t\t'docsPath' =\u003e '@app/docs/swagger/swagger.yaml',\n\n\t\t\t// use merger tool. if you have single file - can turn it off for faster load.\n\t\t\t'multiDoc' =\u003e true,\n\t\t\t\n\t\t\t// enable faker tool. additional link will be provided to download fakered copy.\n\t\t\t'fakerCopy' =\u003e true,\n\t\t\t'fakerNum'  =\u003e 10, // number of items to generate\n\t\t],\n\t],\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fyii2-swaggerviewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustcoded%2Fyii2-swaggerviewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustcoded%2Fyii2-swaggerviewer/lists"}