File: special_yaml_keywords.yaml

package info (click to toggle)
python-datamodel-code-generator 0.45.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,052 kB
  • sloc: python: 29,621; makefile: 15
file content (44 lines) | stat: -rw-r--r-- 842 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
openapi: "3.0.0"
info:
  version: 1.0.0
  title: Swagger Petstore
  license:
    name: MIT
servers:
  - url: http://petstore.swagger.io/v1
paths:
  /pets:
    get:
      summary: List all pets
      operationId: listPets
      tags:
        - pets
      responses:
        '200':
          description: A paged array of pets
components:
  schemas:
    None:
      type: object
    "false":
      type: object
    "True":
      type: object
    "on":
      type: object
    NestedKeywords:
      type: object
      properties:
        None:
          $ref: "#/components/schemas/None"
        "false":
          $ref: "#/components/schemas/false"
        "True":
          $ref: "#/components/schemas/True"
        "on":
          $ref: "#/components/schemas/on"
      required:
        - None
        - "false"
        - "True"
        - "on"