File: template.yml

package info (click to toggle)
python-flasgger 0.9.7.2~dev2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,684 kB
  • sloc: javascript: 6,384; python: 4,379; makefile: 8; 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