Browse Source

Bug 28414: Fix labels for return claims

The way labels are used with RedDoc, we need to tidy them better. We
should do it with all the routes, but this one is specially noisy on the
UI.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Tomás Cohen Arazi 3 years ago
committed by Jonathan Druart
parent
commit
07e760bff8
  1. 31
      api/v1/swagger/paths/return_claims.json

31
api/v1/swagger/paths/return_claims.json

@ -3,11 +3,9 @@
"post": { "post": {
"x-mojo-to": "ReturnClaims#claim_returned", "x-mojo-to": "ReturnClaims#claim_returned",
"operationId": "claimReturned", "operationId": "claimReturned",
"summary": "Add a return claim",
"tags": [ "tags": [
"claims", "Return claims"
"returned",
"return",
"claim"
], ],
"parameters": [ "parameters": [
{ {
@ -103,12 +101,9 @@
"put": { "put": {
"x-mojo-to": "ReturnClaims#update_notes", "x-mojo-to": "ReturnClaims#update_notes",
"operationId": "updateClaimNotes", "operationId": "updateClaimNotes",
"summary": "Update notes",
"tags": [ "tags": [
"claims", "Return claims"
"returned",
"return",
"claim",
"notes"
], ],
"parameters": [ "parameters": [
{ {
@ -197,13 +192,8 @@
"delete": { "delete": {
"x-mojo-to": "ReturnClaims#delete_claim", "x-mojo-to": "ReturnClaims#delete_claim",
"operationId": "deletedClaim", "operationId": "deletedClaim",
"tags": [ "summary": "Delete claim",
"claims", "tags": [ "Return claims" ],
"returned",
"return",
"claim",
"delete"
],
"parameters": [ "parameters": [
{ {
"name": "claim_id", "name": "claim_id",
@ -271,13 +261,8 @@
"put": { "put": {
"x-mojo-to": "ReturnClaims#resolve_claim", "x-mojo-to": "ReturnClaims#resolve_claim",
"operationId": "updateClaimResolve", "operationId": "updateClaimResolve",
"tags": [ "summary": "Resolve claim",
"claims", "tags": [ "Return claims" ],
"returned",
"return",
"claim",
"notes"
],
"parameters": [ "parameters": [
{ {
"name": "claim_id", "name": "claim_id",

Loading…
Cancel
Save