123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- openapi: 3.0.3
- info:
- title: null
- description: ''
- version: 3.9.9
- servers:
- -
- url: 'http://localhost'
- paths:
- /api/withDescription:
- get:
- summary: 'Example title.'
- description: "This will be the long description.\nIt can also be multiple lines long."
- parameters:
- -
- in: header
- name: Content-Type
- description: ''
- example: application/json
- schema:
- type: string
- -
- in: header
- name: Accept
- description: ''
- example: application/json
- schema:
- type: string
- responses: { }
- tags:
- - 'Group A'
- security: []
- /api/withResponseTag:
- get:
- summary: ''
- description: ''
- parameters:
- -
- in: header
- name: Content-Type
- description: ''
- example: application/json
- schema:
- type: string
- -
- in: header
- name: Accept
- description: ''
- example: application/json
- schema:
- type: string
- responses:
- 200:
- description: '200'
- content:
- application/json:
- schema:
- type: object
- example:
- id: 4
- name: banana
- color: red
- weight: '1 kg'
- delicious: true
- responseTag: true
- properties:
- id: { type: integer, example: 4 }
- name: { type: string, example: banana }
- color: { type: string, example: red }
- weight: { type: string, example: '1 kg' }
- delicious: { type: boolean, example: true }
- responseTag: { type: boolean, example: true }
- tags:
- - 'Group A'
- security: []
- /api/withQueryParameters:
- get:
- summary: ''
- description: ''
- parameters:
- -
- in: query
- name: location_id
- description: 'The id of the location.'
- example: consequatur
- required: true
- schema:
- type: string
- -
- in: query
- name: user_id
- description: 'The id of the user.'
- example: me
- required: true
- schema:
- type: string
- -
- in: query
- name: page
- description: 'The page number.'
- example: '4'
- required: true
- schema:
- type: string
- -
- in: query
- name: 'filters.*'
- description: 'The filters.'
- example: consequatur
- required: false
- schema:
- type: string
- -
- in: query
- name: url_encoded
- description: 'Used for testing that URL parameters will be URL-encoded where needed.'
- example: '+ []&='
- required: false
- schema:
- type: string
- -
- in: header
- name: Content-Type
- description: ''
- example: application/json
- schema:
- type: string
- -
- in: header
- name: Accept
- description: ''
- example: application/json
- schema:
- type: string
- responses: { }
- tags:
- - 'Group A'
- security: []
|