Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
290 changes: 148 additions & 142 deletions src/reference/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13600,57 +13600,59 @@ paths:
content:
application/json:
schema:
type: object
x-examples:
Example 1:
description: Riparazione hardware ufficio
type_id: 3
supplier_id: 105
cost: 250.5
type: array
items:
type: object
x-examples:
Example 1:
description: Riparazione hardware ufficio
type_id: 3
supplier_id: 105
cost: 250.5
attachments:
- url: 'https://esempio.com/documenti/fattura.pdf'
mime_type: application/pdf
- url: 'https://esempio.com/immagini/danno.jpg'
mime_type: image/jpeg
required:
- description
- type_id
- supplier_id
- cost
- attachments
properties:
description:
type: string
type_id:
type: integer
supplier_id:
type: integer
cost:
type: number
attachments:
- url: 'https://esempio.com/documenti/fattura.pdf'
mime_type: application/pdf
- url: 'https://esempio.com/immagini/danno.jpg'
mime_type: image/jpeg
required:
- description
- type_id
- supplier_id
- cost
- attachments
properties:
description:
type: string
type_id:
type: integer
supplier_id:
type: integer
cost:
type: number
attachments:
type: array
items:
type: object
required:
- url
- mime_type
properties:
url:
type: string
mime_type:
type: string
type: array
items:
type: object
required:
- url
- mime_type
properties:
url:
type: string
mime_type:
type: string
examples:
Example 1:
value:
description: Riparazione hardware ufficio
type_id: 3
supplier_id: 105
cost: 250.5
attachments:
- url: 'https://esempio.com/documenti/fattura.pdf'
mime_type: application/pdf
- url: 'https://esempio.com/immagini/danno.jpg'
mime_type: image/jpeg
- description: Riparazione hardware ufficio
type_id: 3
supplier_id: 105
cost: 250.5
attachments:
- url: 'https://esempio.com/documenti/fattura.pdf'
mime_type: application/pdf
- url: 'https://esempio.com/immagini/danno.jpg'
mime_type: image/jpeg
security:
- JWT: []
delete:
Expand Down Expand Up @@ -13697,12 +13699,90 @@ paths:
content:
application/json:
schema:
type: array
items:
type: object
x-examples:
Example 1:
description: Riparazione hardware ufficio
type_id: 3
cost_id: 2
supplier_id: 105
cost: 250.5
attachments:
- url: 'https://esempio.com/documenti/fattura.pdf'
mime_type: application/pdf
- url: 'https://esempio.com/immagini/danno.jpg'
mime_type: image/jpeg
required:
- description
- type
- cost_id
- supplier
- cost
- attachments
properties:
description:
type: string
type:
type: string
x-stoplight:
id: q54ltj77jcyf0
cost_id:
type: integer
supplier:
type: string
x-stoplight:
id: 5aunsjh1dxfq1
cost:
type: number
attachments:
type: array
items:
type: object
required:
- url
- mime_type
properties:
url:
type: string
mime_type:
type: string
examples:
Example 1:
value:
- description: description
type: Type 1
cost_id: 10
supplier: Supplier
cost: 104
attachments:
- url: 'https://example.com/'
mime_type: image/jpg
'400':
description: Bad Request
'403':
description: Forbidden
'404':
$ref: '#/components/responses/NotFound'
'500':
description: Internal Server Error
operationId: patch-campaigns-campaign-finance-otherCosts
x-stoplight:
id: mwhcb91voxivy
security:
- JWT: []
requestBody:
content:
application/json:
schema:
type: array
items:
type: object
x-examples:
Example 1:
description: Riparazione hardware ufficio
type_id: 3
cost_id: 2
supplier_id: 105
cost: 250.5
attachments:
Expand All @@ -13712,24 +13792,18 @@ paths:
mime_type: image/jpeg
required:
- description
- type
- cost_id
- supplier
- type_id
- supplier_id
- cost
- attachments
- cost_id
properties:
description:
type: string
type:
type: string
x-stoplight:
id: q54ltj77jcyf0
cost_id:
type_id:
type: integer
supplier_id:
type: integer
supplier:
type: string
x-stoplight:
id: 5aunsjh1dxfq1
cost:
type: number
attachments:
Expand All @@ -13744,91 +13818,23 @@ paths:
type: string
mime_type:
type: string
examples:
Example 1:
value:
description: description
type: Type 1
cost_id: 10
supplier: Supplier
cost: 104
attachments:
- url: 'https://example.com/'
mime_type: image/jpg
'400':
description: Bad Request
'403':
description: Forbidden
'404':
$ref: '#/components/responses/NotFound'
'500':
description: Internal Server Error
operationId: patch-campaigns-campaign-finance-otherCosts
x-stoplight:
id: mwhcb91voxivy
security:
- JWT: []
requestBody:
content:
application/json:
schema:
type: object
x-examples:
Example 1:
description: Riparazione hardware ufficio
type_id: 3
supplier_id: 105
cost: 250.5
attachments:
- url: 'https://esempio.com/documenti/fattura.pdf'
mime_type: application/pdf
- url: 'https://esempio.com/immagini/danno.jpg'
mime_type: image/jpeg
required:
- description
- type_id
- supplier_id
- cost
- attachments
- cost_id
properties:
description:
type: string
type_id:
type: integer
supplier_id:
type: integer
cost:
type: number
attachments:
type: array
items:
type: object
required:
- url
- mime_type
properties:
url:
type: string
mime_type:
type: string
cost_id:
type: integer
x-stoplight:
id: drnv0dayw8k18
cost_id:
type: integer
x-stoplight:
id: drnv0dayw8k18
examples:
Example 1:
value:
description: Riparazione hardware ufficio
type_id: 3
cost_id: 2
supplier_id: 105
cost: 250.5
attachments:
- url: 'https://esempio.com/documenti/fattura.pdf'
mime_type: application/pdf
- url: 'https://esempio.com/immagini/danno.jpg'
mime_type: image/jpeg
- description: Riparazione hardware ufficio
type_id: 3
cost_id: 2
supplier_id: 105
cost: 250.5
attachments:
- url: 'https://esempio.com/documenti/fattura.pdf'
mime_type: application/pdf
- url: 'https://esempio.com/immagini/danno.jpg'
mime_type: image/jpeg
servers:
- url: 'https://api.app-quality.com'
tags:
Expand Down
Loading
Loading