With the old swagger web frontend, one could conveniently test the math check endpoint.
Steps to Reproduce:
- Now I am looking at https://en.wikipedia.org/api/rest_v1/#/Math/post_media_math_check__type_
and I wanted to test if the warning information generated by mathoid can be accessed via restbase.
Therefore I wanted to use the example from
https://gerrit.wikimedia.org/r/#/c/mediawiki/services/mathoid/+/447558/3/test/features/math/simple.js
with curl I would do
$ curl -X POST "https://en.wikipedia.org/api/rest_v1/media/math/check/chem" -d "type=chem&q=\ce {pH=-\log _{10}[H+]}" {"success":true,"checked":"{\\ce {pH=-\\log _{10}[H]}}","requiredPackages":["mhchem"],"identifiers":["p","H","H"],"endsWithDot":false}
aka I do not see the warning field in restbase, which is another problem.
Actual Results:
- I could not generate this curl request with the new swagger ui.
Expected Results:
- A way to generate the curl request (like it was in the old version)