{"id":19757155,"url":"https://github.com/lyst/speccify","last_synced_at":"2025-04-30T12:31:27.497Z","repository":{"id":49006159,"uuid":"380177680","full_name":"lyst/speccify","owner":"lyst","description":"Tie together `drf-spectacular` and `djangorestframework-dataclasses` for easy-to-use apis and openapi schemas.","archived":false,"fork":false,"pushed_at":"2021-07-01T08:32:08.000Z","size":95,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-03-25T20:07:08.450Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lyst.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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":"2021-06-25T08:42:44.000Z","updated_at":"2023-08-30T10:46:38.000Z","dependencies_parsed_at":"2022-08-27T00:50:40.126Z","dependency_job_id":null,"html_url":"https://github.com/lyst/speccify","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyst%2Fspeccify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyst%2Fspeccify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyst%2Fspeccify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyst%2Fspeccify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyst","download_url":"https://codeload.github.com/lyst/speccify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224208143,"owners_count":17273721,"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-11-12T03:18:16.027Z","updated_at":"2024-11-12T03:18:16.688Z","avatar_url":"https://github.com/lyst.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speccify\n\nTie together `drf-spectacular` and `djangorestframework-dataclasses` for\neasy-to-use apis and openapi schemas.\n\n## Usage\n\n```\n    @dataclass\n    class MyQueryData():\n        name: str\n\n    @dataclass\n    class MyResponse:\n        length: int\n\n    @speccify.api_view(methods=[\"GET\"], permissions=[])\n    def my_view(request: Request, my_query: Query[MyQueryData]) -\u003e MyResponse:\n        name = my_query.name\n        length = len(name)\n        return MyResponse(length=length)\n```\n\n\n## License\n\nApache2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyst%2Fspeccify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyst%2Fspeccify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyst%2Fspeccify/lists"}