File: any.yaml

package info (click to toggle)
python-datamodel-code-generator 0.35.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,408 kB
  • sloc: python: 19,888; makefile: 15
file content (34 lines) | stat: -rw-r--r-- 647 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
info:
  title: FastAPI
  version: 0.1.0
openapi: 3.0.2
paths:
  /:
    post:
      operationId: read_root__post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Item'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
      summary: Read Root
components:
  schemas:
    Item:
      properties:
        bar:
          title: Bar
        foo:
          title: Foo
          type: string
      required:
      - foo
      title: Item
      type: object