Physikerwelt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/267543

Change subject: Fix warning with duplicate route for /
......................................................................

Fix warning with duplicate route for /

Change-Id: I893c0fd7797cfc67b4ad76a58a7d5f0e0e87b7ed
---
M spec.yaml
1 file changed, 18 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mathoid 
refs/changes/43/267543/1

diff --git a/spec.yaml b/spec.yaml
index 0c16f96..a69250d 100644
--- a/spec.yaml
+++ b/spec.yaml
@@ -33,6 +33,24 @@
               spec: true
           response:
             status: 200
+    post:
+      tags:
+        - Render
+      description: Converts TeX to MathML, SVG, PNG and IMG
+      produces:
+        - application/json
+      x-amples:
+        - title: mass-energy equivalence (json)
+          request:
+            body:
+              q: 'E=mc^2'
+          response:
+            status: 200
+            body:
+              log: success
+              success: true
+              svg: /.+/
+              mml: /.+/
   # from routes/info.js
   /_info:
     get:
@@ -54,25 +72,6 @@
               version: /.+/
               home: /.+/
   # from routes/mathoid.js
-  /:
-    post:
-      tags:
-        - Render
-      description: Converts TeX to MathML, SVG, PNG and IMG
-      produces:
-        - application/json
-      x-amples:
-        - title: mass-energy equivalence (json)
-          request:
-            body:
-              q: 'E=mc^2'
-          response:
-            status: 200
-            body:
-              log: success
-              success: true
-              svg: /.+/
-              mml: /.+/
   /{format}/:
     post:
       tags:

-- 
To view, visit https://gerrit.wikimedia.org/r/267543
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I893c0fd7797cfc67b4ad76a58a7d5f0e0e87b7ed
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mathoid
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to