Bug 18137: (follow-up) Sort definitions.json
authorLari Taskula <lari.taskula@jns.fi>
Thu, 16 Mar 2017 12:24:52 +0000 (14:24 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Sep 2017 14:27:05 +0000 (11:27 -0300)
Before this file grows, we should sort it alphabetically.

To test:
1. prove t/db_dependent/api/v1

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

api/v1/swagger/definitions.json

index d27167b..939baa8 100644 (file)
@@ -2,16 +2,16 @@
   "city": {
     "$ref": "definitions/city.json"
   },
-  "patron": {
-    "$ref": "definitions/patron.json"
-  },
-  "holds": {
-    "$ref": "definitions/holds.json"
+  "error": {
+    "$ref": "definitions/error.json"
   },
   "hold": {
     "$ref": "definitions/hold.json"
   },
-  "error": {
-    "$ref": "definitions/error.json"
+  "holds": {
+    "$ref": "definitions/holds.json"
+  },
+  "patron": {
+    "$ref": "definitions/patron.json"
   }
 }