Skip to content

Commit 60309ca

Browse files
committed
NPA-5063 Improve Schema Validator Job
1 parent 0834544 commit 60309ca

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
@@ -1823,13 +1823,13 @@ components:
18231823
- $ref: "#/components/schemas/ConsentBundleEntry"
18241824

18251825
RelatedPersonPatientDetailsBundleEntry:
1826+
type: object
18261827
allOf:
18271828
- $ref: "#/components/schemas/RelatedPersonBundleEntry"
18281829
- type: object
18291830
description: A RelatedPerson bundle entry with patient name and birthDate.
18301831
properties:
18311832
resource:
1832-
additionalProperties: false
18331833
allOf:
18341834
- $ref: "#/components/schemas/RelatedPerson"
18351835
- type: object

0 commit comments

Comments
 (0)