GitbookIO / gitbook
28,993 TypeScriptThe open source frontend for GitBook doc sites
gitbook Specification
Located in packages/gitbook/src/lib/openapi/fixtures/multiline-spec.yaml on branch HEAD
3.x (YAML)
YAML
1.4 KB
Raw YAML Specification
openapi: 3.0.2
info:
title: OpenAPI spec
version: 0.0.0
servers:
- url: '/api/v3'
paths:
'/pet':
put:
summary: Update an existing pet
description: |
Social platform<br>Hello
operationId: updatePet
requestBody:
description: Update an existent pet in the store
content:
application/json:
schema:
required:
- id
type: object
properties:
id:
type: integer
format: int64
example: 10
required: true
responses:
'200':
description: Successful operation
content:
application/json:
schema:
required:
- id
type: object
properties:
id:
type: integer
format: int64
example: 10