| 1 | This is the summary defined in yaml file |
| 2 | First line is the summary |
| 3 | All following lines until the hyphens is added to description |
| 4 | the format of the first lines until 3 hyphens will be not yaml compliant |
| 5 | but everything below the 3 hyphens should be. |
| 6 | YAML files are Unicode - UTF-16 or UTF-8 (default) encoded. |
| 7 | This line contains a UTF-8-encoded character: ☮ |
| 8 | There are also UTF-8-encoded characters in the following spec. |
| 9 | --- |
| 10 | tags: |
| 11 | - users |
| 12 | parameters: |
| 13 | - in: path |
| 14 | name: username |
| 15 | type: string |
| 16 | required: true |
| 17 | responses: |
| 18 | 200: |
| 19 | description: A single user item (um único usuário) |
| 20 | schema: |
| 21 | id: rec_username |
| 22 | properties: |
| 23 | username: |
| 24 | type: string |
| 25 | description: The name of the user |
| 26 | default: 'steve-harris' |