| 1 | Create item |
| 2 | --- |
| 3 | tags: |
| 4 | - MethodView |
| 5 | parameters: |
| 6 | - name: Item |
| 7 | in: body |
| 8 | schema: |
| 9 | type: object |
| 10 | required: |
| 11 | - name |
| 12 | - type |
| 13 | properties: |
| 14 | name: |
| 15 | type: string |
| 16 | maxLength: 31 |
| 17 | description: global unique |
| 18 | type: |
| 19 | type: string |
| 20 | maxLength: 10 |
| 21 | responses: |
| 22 | 201: |
| 23 | description: OK |
| 24 | schema: |
| 25 | $ref: '#/definitions/Item' |