@mojaloop/api-snippets 17.7.6 → 17.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "17.7.6",
3
+ "version": "17.7.8",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -37,18 +37,25 @@ properties:
37
37
  $ref: ./CorrelationId.yaml
38
38
  getPartiesResponse:
39
39
  type: object
40
- required:
41
- - body
42
40
  properties:
43
41
  body:
44
- type: object
45
- properties:
46
- party:
47
- $ref: ./Party.yaml
48
- required:
49
- - party
42
+ oneOf:
43
+ - type: object
44
+ properties:
45
+ party:
46
+ $ref: ./Party.yaml
47
+ required:
48
+ - party
49
+ - type: object
50
+ properties:
51
+ errorInformation:
52
+ $ref: ./ErrorInformation.yaml
53
+ required:
54
+ - errorInformation
50
55
  headers:
51
56
  type: object
57
+ required:
58
+ - body
52
59
  quoteResponse:
53
60
  type: object
54
61
  required: