Skip to content

Commit bb53f82

Browse files
Add noMediaSelector property (#28)
* chore(models): add APIC-667 model * feat: add noMediaSelector property * chore(models): refactor APIC-667 * chore: add typings * test: add tests for noMediaSeletor and shouldRenderMediaSelector * 4.2.13 * chore(deps): upgrade deps
1 parent 664be6d commit bb53f82

File tree

7 files changed

+294
-103
lines changed

7 files changed

+294
-103
lines changed

demo/APIC-667/APIC-667.raml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#%RAML 1.0
2+
title: RamlLibraryTypeShowsMediaType
3+
4+
version: v1
5+
mediaType: [ application/json, application/xml ]
6+
7+
types:
8+
aNumberType:
9+
description: a description
10+
type: number
11+
12+
/{uriparam}:
13+
description: Example for 00293053
14+
uriParameters:
15+
uriparam:
16+
type: aNumberType
17+
example: 123
18+
required: true
19+
get:
20+
description: a method Description
21+
queryParameters:
22+
qp:
23+
type: string
24+
description: a query param Description
25+
example: atextexample
26+
required: false
27+
responses:
28+
200:
29+
body:
30+
application/json:

demo/apis.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"APIC-631/APIC-631.raml": "RAML 1.0",
1313
"SE-19500/SE-19500.raml": "RAML 1.0",
1414
"enum-test/enum-test.raml": "RAML 1.0",
15+
"APIC-667/APIC-667.raml": "RAML 1.0",
1516
"APIC-429/APIC-429.yaml": { "type": "OAS 3.0", "mime": "application/yaml" },
1617
"SE-17897/SE-17897.yaml": { "type": "OAS 3.0", "mime": "application/yaml" },
1718
"new-oas3-types/new-oas3-types.yaml": { "type": "OAS 3.0", "mime": "application/yaml" },

0 commit comments

Comments
 (0)