Skip to content

Commit c21f341

Browse files
Render "properties" and "and" simultaneously (#68)
* build: lockfile v2 * build(github): node 16 * chore(demo): add model for W-12142859 * fix(api-type-document): render properties along with "and" if present * test(api-type-document): add test for "properties and "and" usage * 4.2.21 * chore: npm install
1 parent 66ebc07 commit c21f341

File tree

7 files changed

+17622
-205
lines changed

7 files changed

+17622
-205
lines changed

.github/workflows/deployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v2
2525
- uses: actions/setup-node@v1
2626
with:
27-
node-version: 14
27+
node-version: 16
2828
- uses: microsoft/playwright-github-action@v1
2929
- uses: actions/cache@v1
3030
with:
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/checkout@v2
4444
- uses: actions/setup-node@v1
4545
with:
46-
node-version: 14
46+
node-version: 16
4747
- uses: microsoft/playwright-github-action@v1
4848
- uses: actions/cache@v1
4949
with:
@@ -69,7 +69,7 @@ jobs:
6969
fetch-depth: 0
7070
- uses: actions/setup-node@v2
7171
with:
72-
node-version: '14.x'
72+
node-version: '16.x'
7373
registry-url: 'https://registry.npmjs.org'
7474
- uses: actions/cache@v1
7575
with:

demo/W-12142859/W-12142859.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
swagger: "2.0"
2+
info:
3+
description: "UPM Party Servicess"
4+
version: 1.0.0
5+
title: UPM Party Services
6+
paths:
7+
/customers/preferences/search:
8+
post:
9+
produces:
10+
- application/json
11+
consumes:
12+
- application/json
13+
responses:
14+
"200":
15+
description: "Get Address search response"
16+
schema:
17+
$ref: "#/definitions/preferencesSearchDTO"
18+
19+
definitions:
20+
preferencesSearchDTO:
21+
type: object
22+
properties:
23+
Account:
24+
type: "array"
25+
items:
26+
$ref: "#/definitions/PreferenceSearchAccount"
27+
PreferenceSearchAccount:
28+
type: object
29+
allOf:
30+
- $ref: "#/definitions/AccountBaseDTO"
31+
properties:
32+
Collateral:
33+
type: "array"
34+
items:
35+
$ref: "#/definitions/CollateralDemographicsSearch"
36+
AccountBaseDTO:
37+
type: object
38+
properties:
39+
applicationId:
40+
type: string
41+
example: ""
42+
description: "Application ID"
43+
CollateralDemographicsSearch:
44+
type: object
45+
properties:
46+
collateralId:
47+
type: string
48+
description: collateral id vin or hin or etc
49+
example: "123"

demo/apis.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121
"oas-api/read-only-properties.yaml": { "type": "OAS 3.0", "mime": "application/yaml" },
2222
"APIC-649/APIC-649.yaml": { "type": "OAS 3.0", "mime": "application/yaml" },
2323
"APIC-671/APIC-671.yaml": { "type": "OAS 3.0", "mime": "application/yaml" },
24-
"APIC-743/APIC-743.yaml": { "type": "OAS 3.0", "mime": "application/yaml" }
24+
"APIC-743/APIC-743.yaml": { "type": "OAS 3.0", "mime": "application/yaml" },
25+
"W-12142859/W-12142859.yaml": "OAS 2.0"
2526
}

0 commit comments

Comments
 (0)