Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit f1b91e2

Browse files
Replace the swagger-ui library with Redoc for 2.2.x (#8265)
* Moved 2.2 schema and updated index.html * Removed obsolete swagger assets * Fixed links * Optimized schema for Redoc * Moved 2.2 index to redoc/ and redirected from swagger/
1 parent edf7ddb commit f1b91e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+8
-119839
lines changed

src/_data/whats-new.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2450,7 +2450,7 @@ entries:
24502450
date: October 8, 2019
24512451
link: https://github.com/magento/devdocs/pull/5586
24522452
- description: Updated the REST schema for [2.3.3](https://devdocs.magento.com/redoc/2.3/)
2453-
and [2.2.10](https://devdocs.magento.com/swagger/index_22.html).
2453+
and [2.2.10](https://devdocs.magento.com/swagger/index.html).
24542454
versions: 2.2.10, 2.3.3
24552455
type: Major update
24562456
date: October 8, 2019
@@ -3170,7 +3170,7 @@ entries:
31703170
date: June 22, 2019
31713171
link: https://github.com/magento/devdocs/pull/4824
31723172
- description: Updated the REST schema for [2.3.2](https://devdocs.magento.com/redoc/2.3/)
3173-
and [2.2.9](https://devdocs.magento.com/swagger/index_22.html).
3173+
and [2.2.9](https://devdocs.magento.com/swagger/index.html).
31743174
versions: 2.2.9, 2.3.2
31753175
type: Major update
31763176
date: June 22, 2019

src/redoc/2.2/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: redoc
3+
specUrl: latest-2.2.schema.json
4+
redirect_from: swagger/index.html
5+
---

src/redoc/2.2/latest-2.2.schema.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)