File: template.yml

package info (click to toggle)
python-flasgger 0.9.5%2Bdfsg.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,152 kB
  • sloc: javascript: 6,403; python: 3,665; makefile: 9; sh: 1
file content (16 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
swagger: '2.0'
info:
  title: 'Flasgger Parsed Method/Function View Example'
  description: 'Example of swagger document auto loading by endpoint name(view function/method name), parsed by flask_restful.reqparse.RequestParser and validated by jsonschema'
  version: '0.1'

definitions:
  Item:
    type: object
    properties:
      id:
        type: integer
      name:
        type: string
      type:
        type: string