Closed Bellangelo closed 3 months ago
In addition we should update to the latest version of ReSpec and have a documented process to refresh our snapshot.
Which also means we should not "fork" or otherwise modify the original ReSpec, and use the same snapshot for OpenAPI and Arazzo.
Differences between OAI snapshots of ReSpec 21.0.1 and the original:
Problem
There are 2 minified versions of
respec.js
for 3.x and for 4.x versions. These files exists in thegh-pages
:/js/respec-oai.js
/js/respec-arrazzo.js
These files are basically unmaintainable and should instead try to store a human-readable version of it.
Proposed solution
There is a
respec-oai.build.js.map
which might help us decouple the minified versionrespec-oai.js
. After we succeed in decoupling the file and keep only the source code in our repo, we need to add a build step in our deploy process so we can push the minified version again.Alternative Proposal
Do not use a modified fork of ReSpec, instead use the unmodified original, see #3944.