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> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
43881559cf
commit
6c52b366c3
|
|
@ -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": [
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ tags:
|
|||
x-displayName: Items
|
||||
description: |
|
||||
Manage items
|
||||
- name: "library"
|
||||
- name: "libraries"
|
||||
x-displayName: Libraries
|
||||
description: |
|
||||
Manage libraries
|
||||
|
|
|
|||
Loading…
Reference in New Issue