You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With OpenAPI Specification 3.1, webhooks are not generated as services, resulting in an empty file.
// services.gen.ts// This file is auto-generated by @hey-api/openapi-tsimport{createClient,createConfig,typeOptions}from'@hey-api/client-axios';exportconstclient=createClient(createConfig());
// types.gen.ts// This file is auto-generated by @hey-api/openapi-tsexporttypePet={id: number;name: string;tag?: string;};
openapi: 3.1.0info:
title: Webhook Exampleversion: 1.0.0description: > Easy example of documentation with a single webhook, provided by OpenAPI Initiative.webhooks:
newPet:
post:
description: A new pet is born, let's come and discover it in Petstore.requestBody:
description: Information about a new pet in the systemcontent:
application/json:
schema:
$ref: "#/components/schemas/Pet"responses:
"200":
description: Return a 200 status to indicate that the data was received successfullycomponents:
schemas:
Pet:
required:
- id
- nameproperties:
id:
type: integerformat: int64name:
type: stringtag:
type: string
Description
With OpenAPI Specification 3.1, webhooks are not generated as services, resulting in an empty file.
Reproducible example or configuration
OpenAPI specification (optional)
System information (optional)
@hey-api/client-axios: 0.2.7
@hey-api/openapi-ts": 0.53.5
The text was updated successfully, but these errors were encountered: