Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zztkm/hono-zod-openapi-sandbox


https://github.com/zztkm/hono-zod-openapi-sandbox

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

# Hono Zod OpenAPI Sandbox

## Commands

init:
```bash
pnpm install
```

dev:
```bash
pnpm dev
```

## API Document

start the development server as a prerequisite.
```bash
pnpm run dev
```

if you are using vscode, then serving `docs/openapi.html` with [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) is an easy way to view the API documentation

## Refs

- https://github.com/honojs/middleware/tree/main/packages/zod-openapi
- https://github.com/Redocly/redoc