Open SellersEvan opened 4 months ago
Is your feature request related to a problem? Please describe. Auto-generate client code and OpenAPI documents from your APIs.
Describe the solution you'd like Add JS doc comments above your endpoints to generate client functions in different languages.
import foo from "..." /** Title * Description * @method getPost * @paramater param1 {int} - description * @paramater param2 {?foo} - description * The above helps build the function ... other OpenAPI props here optional */ export function POST<requestSchema, responseSchema>() { return Response.JSON({ "string": "food", "number": 3, "boolean": true, "object": { "numbers": [3, -4] } }); }
Describe alternatives you've considered N/A
Additional context
Is your feature request related to a problem? Please describe. Auto-generate client code and OpenAPI documents from your APIs.
Describe the solution you'd like Add JS doc comments above your endpoints to generate client functions in different languages.
Describe alternatives you've considered N/A
Additional context