Skip to content

Commit 4fe473c

Browse files
committed
added first draft of read style rendering
1 parent 18d547c commit 4fe473c

26 files changed

+474
-293
lines changed

.babelrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"presets": [
33
[
44
"@babel/preset-env",
5-
{ "targets": {"esmodules": true}}
5+
{
6+
"modules": false, // do not transform modules
7+
"targets": {"esmodules": true }
8+
}
69
]
710
],
811
"plugins": [

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
spec-url="./specs/petstore_extended.yaml"
2424
theme="dark"
2525
allow-api-list-style-selection = "false"
26-
api-list-style = "group-by-path"
26+
render-style = 'read'
2727
> </rapi-doc>
2828

2929
<!--

dist/index.html.gz

0 Bytes
Binary file not shown.

dist/rapidoc-min.js

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.gz

420 Bytes
Binary file not shown.

dist/report.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/rapidoc-min.js

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/tests/performance.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
<script type="text/javascript" src="../rapidoc-min.js"></script>
1616
</head>
1717
<body>
18-
<rapi-doc spec-url="https://assets.zuora.com/zuora-documentation/swagger.yaml"> </rapi-doc>
18+
<rapi-doc spec-url="https://assets.zuora.com/zuora-documentation/swagger.yaml" render-style="read"> </rapi-doc>
1919
</body>
2020
</html>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
spec-url="./specs/petstore_extended.yaml"
2424
theme="dark"
2525
allow-api-list-style-selection = "false"
26-
api-list-style = "group-by-path"
26+
render-style = 'read'
2727
> </rapi-doc>
2828

2929
<!--

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"lint-fix" : "./node_modules/eslint/bin/eslint.js --fix ./src/**"
4242
},
4343
"devDependencies": {
44-
"@babel/core": "^7.6.2",
45-
"@babel/preset-env": "^7.6.2",
44+
"@babel/core": "^7.6.4",
45+
"@babel/preset-env": "^7.6.4",
4646
"babel-loader": "^8.0.6",
4747
"babel-plugin-template-html-minifier": "^3.1.0",
4848
"clean-webpack-plugin": "^3.0.0",

0 commit comments

Comments
 (0)