This patch adds missing attribute to the object definitions in the spec.
We wrongly supposed it was the default, but it proved not.
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/api/v1
=> SUCCESS: Tests pass, nothing breaks!
3. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
"type": "integer"
}
},
- "required": [ "pickup_library_id" ]
+ "required": [ "pickup_library_id" ],
+ "additionalProperties": false
}
}
],
"description": "any comments added when the file was uploaded",
"type": ["string", "null"]
}
- }
+ },
+ "additionalProperties": false
}
}
],
"description": "any comments added when the file was uploaded",
"type": ["string", "null"]
}
- }
+ },
+ "additionalProperties": false
}
}
],
}
}
}
-}
\ No newline at end of file
+}
"description": "Extended attribute value",
"type": "string"
}
- }
+ },
+ "additionalProperties": false
}
}
],
"type": "string"
}
},
- "required": ["password", "password_2"]
+ "required": ["password", "password_2"],
+ "additionalProperties": false
}
}
],
"password",
"password_repeated",
"old_password"
- ]
+ ],
+ "additionalProperties": false
}
}
],
"allowed": {
"type": "boolean"
}
- }
+ },
+ "additionalProperties": false
}
}
],
"allowed": {
"type": "boolean"
}
- }
+ },
+ "additionalProperties": false
}
}
],
}
}
}
-}
\ No newline at end of file
+}
"description": "Charge a lost fee if true and Koha is set to allow a choice. Ignored otherwise.",
"type": "boolean"
}
- }
+ },
+ "additionalProperties": false
}
}
],
"description": "Interal identifier for the librarian updating the claim notes",
"type": "string"
}
- }
+ },
+ "additionalProperties": false
}
}
],
"description": "User id for the librarian resolving the claim",
"type": "string"
}
- }
+ },
+ "additionalProperties": false
}
}
],