From b22aa0c9a5fdd4e80c4d1280f529ed452a8a2221 Mon Sep 17 00:00:00 2001
From: Lari Taskula <lari.taskula@jns.fi>
Date: Thu, 16 Mar 2017 14:24:52 +0200
Subject: [PATCH] [SIGNED-OFF] Bug 18137: (follow-up) Sort definitions.json
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>
---
api/v1/swagger/definitions.json | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/api/v1/swagger/definitions.json b/api/v1/swagger/definitions.json
index d27167b..939baa8 100644
--- a/api/v1/swagger/definitions.json
+++ b/api/v1/swagger/definitions.json
@@ -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"
}
}
--
2.1.4