Skip to content
Snippets Groups Projects
Commit cef2b184 authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Merge branch 'malowe/main/fix-spec-fields' into 'main'

Update spec to add required fields to make testing more rigid

See merge request !28
parents 337f952c 30432cd6
No related branches found
No related tags found
1 merge request!28Update spec to add required fields to make testing more rigid
Pipeline #53883 passed with stage
in 0 seconds
......@@ -141,6 +141,17 @@ components:
schemas:
PublisherAgreement:
type: object
additionalProperties: false
required:
- PersonID
- DocumentID
- Version
- EffectiveDate
- ReceivedDate
- ScannedDocumentBLOB
- ScannedDocumentMime
- ScannedDocumentFileName
- Comments
properties:
PersonID:
type: string
......@@ -159,19 +170,23 @@ components:
description: The date the agreement was received.
ScannedDocumentBLOB:
type: string
description: The scanned document image.
description: The scanned document byte blob.
ScannedDocumentMime:
type: string
description: The scanned document mime type.
ScannedDocumentFileName:
type: string
description: The scanned document file name.
ScannedDocumentBytes:
type: string
description: The number of bytes in the BLOB for the document
Comments:
type: string
description: Comments on the agreement.
AgreementSigningRequest:
type: object
additionalProperties: false
required:
- version
- github_handle
......@@ -185,6 +200,10 @@ components:
Error:
type: object
additionalProperties: false
required:
- status_code
- message
properties:
status_code:
type: integer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment