Skip to content
Snippets Groups Projects

Update spec to add required fields to make testing more rigid

Merged Martin Lowe requested to merge malowe/main/fix-spec-fields into main
1 file
+ 20
1
Compare changes
  • Side-by-side
  • Inline
+ 20
1
@@ -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
Loading