{"id":16105098,"url":"https://github.com/intgr/drf-yasg-stubs","last_synced_at":"2025-03-18T08:31:37.744Z","repository":{"id":49061720,"uuid":"229433042","full_name":"intgr/drf-yasg-stubs","owner":"intgr","description":"Typing stubs for drf-yasg library (PEP 484 stubs for Mypy and PyCharm)","archived":false,"fork":false,"pushed_at":"2021-09-20T20:40:51.000Z","size":37,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T08:21:08.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intgr.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":"2019-12-21T13:43:10.000Z","updated_at":"2023-01-18T02:54:10.000Z","dependencies_parsed_at":"2022-09-26T20:22:15.676Z","dependency_job_id":null,"html_url":"https://github.com/intgr/drf-yasg-stubs","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intgr%2Fdrf-yasg-stubs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intgr%2Fdrf-yasg-stubs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intgr%2Fdrf-yasg-stubs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intgr%2Fdrf-yasg-stubs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intgr","download_url":"https://codeload.github.com/intgr/drf-yasg-stubs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910749,"owners_count":20367545,"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-09T19:08:25.056Z","updated_at":"2025-03-18T08:31:37.448Z","avatar_url":"https://github.com/intgr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"http://mypy-lang.org/\"\u003e\n\u003cimg src=\"http://mypy-lang.org/static/mypy_light.svg\" alt=\"mypy logo\" width=\"300px\"/\u003e\n\u003c/a\u003e\n\n# Typing stubs for drf-yasg library\n\n[![PyPI version](https://badge.fury.io/py/drf-yasg-stubs.svg)](https://badge.fury.io/py/drf-yasg-stubs)\n[![Tests status](https://github.com/intgr/drf-yasg-stubs/workflows/Tests/badge.svg?branch=master)](https://github.com/intgr/drf-yasg-stubs/actions?query=workflow:Tests)\n\nPEP 484 type stubs for Mypy and PyCharm.\n\nThis package contains type stubs to provide more precise static types and\ntype inference for\n[drf-yasg](https://drf-yasg.readthedocs.io/en/stable/), the OpenAPI/Swagger\ngenerator for Django REST Framework.\n\n## Installation\n\n```bash\npip install drf-yasg-stubs\n```\n\nThat's all, run Mypy and it should be able to pick up these stubs.\n\n## Changelog\n\n#### 0.1.4 (2021-06-29)\n* Allow passing `request_body=no_body` to `swagger_auto_schema` (#14)\n\n  Contributed by Étienne Noss @etene\n\n#### 0.1.3 (2021-01-15)\n* Add re-exports to `inspectors/__init__.py` (#13)\n* get_schema_view() now expects list arguments instead of tuple, as in\n  drf-yasg 1.20 (#11)\n* Type hints for OpenAPISchemaGenerator (#10)\n\n#### 0.1.2 (2020-08-19)\n* Fixed get_schema_view() arguments authentication_classes, permission_classes (#6)\n\n#### 0.1.1 (2020-08-18)\n* Fixed SchemaView method annotations (#2)\n* Fixed @swagger_serializer_method decorator hints\n* Improved hints for EndpointEnumerator, OpenAPISchemaGenerator\n\n#### 0.1.0 (2020-01-13)\n* Initial release\n\n## Development\n\nRelease process: https://twine.readthedocs.io/en/stable/#using-twine\n\n* docker build --tag=drf-yasg-stubs .\n* docker run --rm -it drf-yasg-stubs twine upload 'dist/*'\n* Create tag at https://github.com/intgr/drf-yasg-stubs/releases/new\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintgr%2Fdrf-yasg-stubs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintgr%2Fdrf-yasg-stubs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintgr%2Fdrf-yasg-stubs/lists"}