Bugzilla – Attachment 121277 Details for
Bug 28414
Fix labels for return claims routes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28414: Fix labels for return claims
Bug-28414-Fix-labels-for-return-claims.patch (text/plain), 2.16 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-05-21 12:57:02 UTC
(
hide
)
Description:
Bug 28414: Fix labels for return claims
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-05-21 12:57:02 UTC
Size:
2.16 KB
patch
obsolete
>From e0e1dff2091c0fcbba0f0534e3084e7f79356134 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 21 May 2021 09:55:25 -0300 >Subject: [PATCH] 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> >--- > api/v1/swagger/paths/return_claims.json | 31 +++++++------------------ > 1 file changed, 8 insertions(+), 23 deletions(-) > >diff --git a/api/v1/swagger/paths/return_claims.json b/api/v1/swagger/paths/return_claims.json >index 2c1046d1363..705749de014 100644 >--- a/api/v1/swagger/paths/return_claims.json >+++ b/api/v1/swagger/paths/return_claims.json >@@ -3,11 +3,9 @@ > "post": { > "x-mojo-to": "ReturnClaims#claim_returned", > "operationId": "claimReturned", >+ "summary": "Add a return claim", > "tags": [ >- "claims", >- "returned", >- "return", >- "claim" >+ "Return claims" > ], > "parameters": [ > { >@@ -102,12 +100,9 @@ > "put": { > "x-mojo-to": "ReturnClaims#update_notes", > "operationId": "updateClaimNotes", >+ "summary": "Update notes", > "tags": [ >- "claims", >- "returned", >- "return", >- "claim", >- "notes" >+ "Return claims" > ], > "parameters": [ > { >@@ -195,13 +190,8 @@ > "delete": { > "x-mojo-to": "ReturnClaims#delete_claim", > "operationId": "deletedClaim", >- "tags": [ >- "claims", >- "returned", >- "return", >- "claim", >- "delete" >- ], >+ "summary": "Delete claim", >+ "tags": [ "Return claims" ], > "parameters": [ > { > "name": "claim_id", >@@ -269,13 +259,8 @@ > "put": { > "x-mojo-to": "ReturnClaims#resolve_claim", > "operationId": "updateClaimResolve", >- "tags": [ >- "claims", >- "returned", >- "return", >- "claim", >- "notes" >- ], >+ "summary": "Resolve claim", >+ "tags": [ "Return claims" ], > "parameters": [ > { > "name": "claim_id", >-- >2.31.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28414
:
121277
|
121278