{"id":22089818,"url":"https://github.com/speakeasy-api/speakeasy-zod-openapi","last_synced_at":"2026-03-16T21:04:13.551Z","repository":{"id":193124648,"uuid":"688168867","full_name":"speakeasy-api/speakeasy-zod-openapi","owner":"speakeasy-api","description":"Speakeasy Zod OpenAPI Example","archived":false,"fork":false,"pushed_at":"2023-09-06T20:07:28.000Z","size":45,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-30T19:44:57.314Z","etag":null,"topics":["openapi","sdk","speakeasyapi","zod"],"latest_commit_sha":null,"homepage":"https://speakeasyapi.dev/docs/api-frameworks/zod/","language":"Python","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/speakeasy-api.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}},"created_at":"2023-09-06T19:43:08.000Z","updated_at":"2024-11-24T07:42:07.000Z","dependencies_parsed_at":"2023-09-06T22:51:54.561Z","dependency_job_id":null,"html_url":"https://github.com/speakeasy-api/speakeasy-zod-openapi","commit_stats":null,"previous_names":["speakeasy-api/speakeasy-zod-openapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-api%2Fspeakeasy-zod-openapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-api%2Fspeakeasy-zod-openapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-api%2Fspeakeasy-zod-openapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speakeasy-api%2Fspeakeasy-zod-openapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/speakeasy-api","download_url":"https://codeload.github.com/speakeasy-api/speakeasy-zod-openapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227470069,"owners_count":17778930,"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":["openapi","sdk","speakeasyapi","zod"],"created_at":"2024-12-01T02:14:23.390Z","updated_at":"2026-03-16T21:04:13.546Z","avatar_url":"https://github.com/speakeasy-api.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n \u003ca href=\"https://www.speakeasy.com/\" target=\"_blank\"\u003e\n  \u003cimg width=\"1500\" height=\"500\" alt=\"Speakeasy\" src=\"https://github.com/user-attachments/assets/0e56055b-02a3-4476-9130-4be299e5a39c\" /\u003e\n \u003c/a\u003e\n \u003cbr /\u003e\n \u003cbr /\u003e\n  \u003cdiv\u003e\n   \u003ca href=\"https://speakeasy.com/docs/create-client-sdks/\" target=\"_blank\"\u003e\u003cb\u003eDocs Quickstart\u003c/b\u003e\u003c/a\u003e\u0026nbsp;\u0026nbsp;//\u0026nbsp;\u0026nbsp;\u003ca href=\"https://go.speakeasy.com/slack\" target=\"_blank\"\u003e\u003cb\u003eJoin us on Slack\u003c/b\u003e\u003c/a\u003e\n  \u003c/div\u003e\n \u003cbr /\u003e\n\n\u003c/div\u003e\n\n\n\u003ch2\u003eSpeakeasy Zod OpenAPI Example\u003c/h2\u003e\n\n\nThis example Zod schema demonstrates Speakeasy-recommended practices for generating clear OpenAPI specifications optimised for creating production ready client libraries. For the associated tutorial please see our [docsite](https://speakeasyapi.dev/docs/api-frameworks/zod/).\n\n## Requirements\n\n-  Node v20.4.0\n-  Speakeasy CLI\n\n## Install Node modules\n\nTo install and run this example, you'll need to clone the repository and install the required node modules:\n\n1.  Clone this repo:\n    ```bash\n    git clone git@github.com:ritza-co/speakeasy-zod-openapi.git\n    ```\n2.  Install Node modules. Run the following in the terminal:\n    ```bash\n    npm install\n    ```\n\n## Install Speakeasy CLI\n\nTo save OpenAPI output to a file and regenerate the SDK with Speakeasy, first install Speakeasy by following the [Speakeasy Getting Started](https://speakeasyapi.dev/docs/product-reference/speakeasy-cli/getting-started/) guide.\n\nOn macOS, you can install Speakeasy using Homebrew.\n\nIn your terminal, run:\n\n```bash\nbrew install speakeasy-api/homebrew-tap/speakeasy\n```\n\n## Regenerate the `openapi.yaml` and the client SDK\n\nIn the project's directory, run:\n\n```bash\nnpm run gen-openapi \u0026\u0026 npm run gen-sdk\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-api%2Fspeakeasy-zod-openapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspeakeasy-api%2Fspeakeasy-zod-openapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeakeasy-api%2Fspeakeasy-zod-openapi/lists"}