1515 < script src ="https://cdnjs.cloudflare.com/ajax/libs/js-yaml/4.1.0/js-yaml.min.js "> </ script >
1616 <!-- <script src="../dist/api-diff-viewer.umd.js"></script> -->
1717 <!-- <link rel="stylesheet" href="../dist/style.css"> -->
18- < script src ="https://cdn.jsdelivr.net/npm/api-diff-viewer@0.6.12 "> </ script >
18+ < script src ="https://cdn.jsdelivr.net/npm/api-diff-viewer@0.6.13 "> </ script >
1919 < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/api-diff-viewer/dist/style.css ">
2020 <!-- Don't use this in production: -->
2121 < script src ="https://unpkg.com/@babel/standalone/babel.min.js "> </ script >
@@ -39,13 +39,7 @@ <h2 style="margin-top: 30px; margin-bottom: 10px;">After (json or yaml)</h2>
3939 </ div >
4040 < div id ="action " style ='position: fixed; width: 100%; padding: 5px; '>
4141 < button onclick ="showResult('compare') "> compare</ button >
42- < label for ="rules "> API type:</ label >
4342
44- < select name ="rules " id ="rules ">
45- < option value ="OpenApi3 "> OpenApi3</ option >
46- < option value ="AsyncApi2 "> AsyncApi2</ option >
47- < option value ="JsonSchema "> JsonSchema</ option >
48- </ select >
4943 < label for ="format "> Output format:</ label >
5044 < select name ="format " id ="format ">
5145 < option value ="yaml "> yaml</ option >
@@ -122,7 +116,6 @@ <h2 style="margin-top: 30px; margin-bottom: 10px;">After (json or yaml)</h2>
122116 after : parseEditor ( after ) ,
123117 display : document . getElementById ( "inline" ) . checked ? "inline" : "side-by-side" ,
124118 useWorker : document . getElementById ( "worker" ) . checked ,
125- rules : document . getElementById ( "rules" ) . value ,
126119 format : document . getElementById ( "format" ) . value ,
127120 navigation : true ,
128121 height : "inherit"
0 commit comments