cloudflare / workers-rs

Write Cloudflare Workers in 100% Rust via WebAssembly
Apache License 2.0
2.53k stars 269 forks source link

Collect serverless handlers as openapi #635

Open oovm opened 4 weeks ago

oovm commented 4 weeks ago

Is there an existing issue for this?

Description

According to our technical specifications, all interfaces need to provide API documentation.

But I don't know how to export interface definitions if using workers.

This document may span multiple projects and be collected from multiple routes. A single service does not need to provide API documentation.