Skip to content
Snippets Groups Projects

Fix openapi spec for strictness in testing, fix broken tests

Merged Martin Lowe requested to merge malowe/main/fix-spec-fields into main
3 files
+ 59
2
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 55
1
@@ -196,6 +196,15 @@ components:
WorkingGroup:
type: object
additionalProperties: false
required:
- alias
- title
- status
- logo
- description
- resources
- levels
properties:
alias:
type: string
@@ -219,6 +228,14 @@ components:
WorkingGroupResources:
type: object
additionalProperties: false
required:
- charter
- contact_form
- members
- participation_agreements
- sponsorship
- website
properties:
charter:
type: string
@@ -240,6 +257,7 @@ components:
WorkingGroupParticipationAgreements:
type: object
additionalProperties: false
properties:
individual:
$ref: "#/components/schemas/WorkingGroupParticipationAgreement"
@@ -250,6 +268,7 @@ components:
type:
- object
- "null"
additionalProperties: false
properties:
document_id:
$ref: "#/components/schemas/ObjectID"
@@ -264,6 +283,10 @@ components:
WorkingGroupLevel:
type: object
additionalProperties: false
required:
- relation
- description
description: Definition of the participation level for the working group, including its relation code
properties:
relation:
@@ -275,6 +298,14 @@ components:
WorkingGroupCommittee:
type: object
additionalProperties: false
required:
- group_prefix
- working_group
- appointed_primary
- appointed_alternate
- elected_primary
- elected_alternate
description: Definition of the WG committee
properties:
group_prefix:
@@ -291,9 +322,18 @@ components:
$ref: "#/components/schemas/CommitteeRole"
elected_alternate:
$ref: "#/components/schemas/CommitteeRole"
committer_representative:
$ref: "#/components/schemas/CommitteeRole"
invited_guest:
$ref: "#/components/schemas/CommitteeRole"
CommitteeRole:
type: object
additionalProperties: false
required:
- code
- description
- members
description: The committee position.
properties:
code:
@@ -309,6 +349,11 @@ components:
CommitteeMember:
type: object
additionalProperties: false
required:
- name
- username
- organization
description: A committee member representative.
properties:
name:
@@ -322,12 +367,17 @@ components:
MemberOrganization:
type: object
additionalProperties: false
required:
- name
- organization_id
- logos
description: A member representative's organization info.
properties:
name:
type: string
description: The organization name.
id:
organization_id:
type: integer
description: The organization id.
logos:
@@ -350,6 +400,10 @@ components:
Error:
type: object
additionalProperties: false
required:
- status_code
- message
properties:
status_code:
type: integer
Loading