Bugzilla – Attachment 128151 Details for
Bug 29593
Wrong tag in GET /public/libraries spec
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29593: Fix wrong tag in GET /public/libraries spec
Bug-29593-Fix-wrong-tag-in-GET-publiclibraries-spe.patch (text/plain), 2.66 KB, created by
Tomás Cohen Arazi
on 2021-12-02 11:10:13 UTC
(
hide
)
Description:
Bug 29593: Fix wrong tag in GET /public/libraries spec
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2021-12-02 11:10:13 UTC
Size:
2.66 KB
patch
obsolete
>From 6cb880d073766e8953260e2416d1f68df72fe59b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 29 Nov 2021 15:30:51 -0300 >Subject: [PATCH] Bug 29593: Fix wrong tag in GET /public/libraries spec > >This makes the documentation look untidy. > >To test: >1. Open the api/v1/swagger/paths/libraries.json file with your favourite > editor. >=> FAIL: All routes, but this one, have tags: ['library'] >2. Apply this patch >=> SUCCESS: All routes have tags: ['libraries'] >3. swagger.yaml too! >4. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: David Nind <david@davidnind.com> >--- > api/v1/swagger/paths/libraries.json | 12 ++++++------ > api/v1/swagger/swagger.yaml | 2 +- > 2 files changed, 7 insertions(+), 7 deletions(-) > >diff --git a/api/v1/swagger/paths/libraries.json b/api/v1/swagger/paths/libraries.json >index 81ccfaebf2..95f7d7c625 100644 >--- a/api/v1/swagger/paths/libraries.json >+++ b/api/v1/swagger/paths/libraries.json >@@ -4,7 +4,7 @@ > "x-mojo-to": "Libraries#list", > "operationId": "listLibraries", > "tags": [ >- "library" >+ "libraries" > ], > "summary": "List libraries", > "parameters": [ >@@ -188,7 +188,7 @@ > "x-mojo-to": "Libraries#add", > "operationId": "addLibrary", > "tags": [ >- "library" >+ "libraries" > ], > "summary": "Add library", > "parameters": [ >@@ -261,7 +261,7 @@ > "x-mojo-to": "Libraries#get", > "operationId": "getLibrary", > "tags": [ >- "library" >+ "libraries" > ], > "summary": "Get library", > "parameters": [ >@@ -299,7 +299,7 @@ > "x-mojo-to": "Libraries#update", > "operationId": "updateLibrary", > "tags": [ >- "library" >+ "libraries" > ], > "summary": "Update library", > "parameters": [ >@@ -376,7 +376,7 @@ > "x-mojo-to": "Libraries#delete", > "operationId": "deleteLibrary", > "tags": [ >- "library" >+ "libraries" > ], > "summary": "Delete library", > "parameters": [ >@@ -437,7 +437,7 @@ > "x-mojo-to": "Libraries#list", > "operationId": "listLibrariesPublic", > "tags": [ >- "library" >+ "libraries" > ], > "summary": "List libraries", > "parameters": [ >diff --git a/api/v1/swagger/swagger.yaml b/api/v1/swagger/swagger.yaml >index 1c06b55901..e0e95f14f8 100644 >--- a/api/v1/swagger/swagger.yaml >+++ b/api/v1/swagger/swagger.yaml >@@ -140,7 +140,7 @@ tags: > x-displayName: Items > description: | > Manage items >- - name: "library" >+ - name: "libraries" > x-displayName: Libraries > description: | > Manage libraries >-- >2.32.0
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 29593
:
128088
|
128089
|
128151
|
128210