-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
On this input
openapi: 3.0.0
info:
title: Pet API
version: 1.0.0
paths:
/pet/{petId}:
get:
summary: Get pet by ID
parameters:
- name: petId
in: path
required: true
schema:
type: string
responses:
"200":
description: Success
content:
application/json:
schema:
type: object
properties:
id:
type: string
name:
type: string
"404":
description: Pet not found
default:
description: Unexpected errorcli generates
export type GetPetPetIdResponses =
FullResponse<GetPetPetIdResponseOK, 200>
| FullResponse<GetPetPetIdResponseNotFound, 404>
| FullResponse<GetPetPetIddefaultResponse, default>
// // ^? typescript errormikaelkaron
Metadata
Metadata
Assignees
Labels
No labels