42 lines · 906 B · YAML
RawDownload
basePath: /v2definitions:  v2.Book:    properties:      author:        type: string      id:        type: integer      title:        type: string      year:        type: integer    type: objectinfo:  contact:    email: support@swagger.io    name: API Support    url: http://www.swagger.io/support  description: This is a sample server.  license:    name: Apache 2.0    url: http://www.apache.org/licenses/LICENSE-2.0.html  termsOfService: http://swagger.io/terms/  title: Swagger Example API  version: "2.0"paths:  /books:    get:      consumes:      - application/json      description: get string by ID      produces:      - application/json      responses:        "200":          description: ok          schema:            items:              $ref: '#/definitions/v2.Book'            type: array      summary: Get a list of books in the the storeswagger: "2.0"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t