Skip to content

Commit 232e697

Browse files
committed
NPA-5063 Improve Schema Validator Job
1 parent 50b35b5 commit 232e697

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/openapi-validate.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
name: Open API Validate
2-
"on":
1+
name: OpenAPI Validate Examples
2+
3+
on:
34
pull_request:
45
branches: [master]
6+
57
permissions:
68
contents: read
9+
710
jobs:
811
ExamplesSchemasChecks:
9-
name: Examples Schemas Checks
12+
name: Check ${{ matrix.endpoint.name }} Examples
1013
runs-on: ubuntu-latest
1114
strategy:
1215
fail-fast: false

specification/validated-relationships-service-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,13 +1829,13 @@ components:
18291829
- $ref: "#/components/schemas/ConsentBundleEntry"
18301830

18311831
RelatedPersonPatientDetailsBundleEntry:
1832+
type: object
18321833
allOf:
18331834
- $ref: "#/components/schemas/RelatedPersonBundleEntry"
18341835
- type: object
18351836
description: A RelatedPerson bundle entry with patient name and birthDate.
18361837
properties:
18371838
resource:
1838-
additionalProperties: false
18391839
allOf:
18401840
- $ref: "#/components/schemas/RelatedPerson"
18411841
- type: object

0 commit comments

Comments
 (0)