mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2026-01-04 20:14:54 +01:00
For some reason swaggo doesn't mark the endpoints as deprecated
This commit is contained in:
@@ -391,7 +391,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Query All Items",
|
||||
"summary": "(Deprecated) Query All Items",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -464,7 +464,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Create Item",
|
||||
"summary": "(Deprecated) Create Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -497,7 +497,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Export Items",
|
||||
"summary": "(Deprecated) Export Items",
|
||||
"deprecated": true,
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -522,7 +522,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Get All Custom Field Names",
|
||||
"summary": "(Deprecated) Get All Custom Field Names",
|
||||
"deprecated": true,
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -550,7 +550,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Get All Custom Field Values",
|
||||
"summary": "(Deprecated) Get All Custom Field Values",
|
||||
"deprecated": true,
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -581,7 +581,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Import Items",
|
||||
"summary": "(Deprecated) Import Items",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -612,7 +612,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Get Item",
|
||||
"summary": "(Deprecated) Get Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -644,7 +644,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Update Item",
|
||||
"summary": "(Deprecated) Update Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -685,7 +685,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Delete Item",
|
||||
"summary": "(Deprecated) Delete Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -714,7 +714,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Update Item",
|
||||
"summary": "(Deprecated) Update Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1033,7 +1033,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Get the full path of an item",
|
||||
"summary": "(Deprecated) Get the full path of an item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1339,7 +1339,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Get All Locations",
|
||||
"summary": "(Deprecated) Get All Locations",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1373,7 +1373,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Create Location",
|
||||
"summary": "(Deprecated) Create Location",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1409,7 +1409,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Get Locations Tree",
|
||||
"summary": "(Deprecated) Get Locations Tree",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1445,7 +1445,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Get Location",
|
||||
"summary": "(Deprecated) Get Location",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1477,7 +1477,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Update Location",
|
||||
"summary": "(Deprecated) Update Location",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1518,7 +1518,7 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Delete Location",
|
||||
"summary": "(Deprecated) Delete Location",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
|
||||
@@ -389,7 +389,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Query All Items",
|
||||
"summary": "(Deprecated) Query All Items",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -462,7 +462,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Create Item",
|
||||
"summary": "(Deprecated) Create Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -495,7 +495,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Export Items",
|
||||
"summary": "(Deprecated) Export Items",
|
||||
"deprecated": true,
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -520,7 +520,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Get All Custom Field Names",
|
||||
"summary": "(Deprecated) Get All Custom Field Names",
|
||||
"deprecated": true,
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -548,7 +548,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Get All Custom Field Values",
|
||||
"summary": "(Deprecated) Get All Custom Field Values",
|
||||
"deprecated": true,
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -579,7 +579,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Import Items",
|
||||
"summary": "(Deprecated) Import Items",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -610,7 +610,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Get Item",
|
||||
"summary": "(Deprecated) Get Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -642,7 +642,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Update Item",
|
||||
"summary": "(Deprecated) Update Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -683,7 +683,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Delete Item",
|
||||
"summary": "(Deprecated) Delete Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -712,7 +712,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Update Item",
|
||||
"summary": "(Deprecated) Update Item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1031,7 +1031,7 @@
|
||||
"tags": [
|
||||
"Items"
|
||||
],
|
||||
"summary": "Get the full path of an item",
|
||||
"summary": "(Deprecated) Get the full path of an item",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1337,7 +1337,7 @@
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Get All Locations",
|
||||
"summary": "(Deprecated) Get All Locations",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1371,7 +1371,7 @@
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Create Location",
|
||||
"summary": "(Deprecated) Create Location",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1407,7 +1407,7 @@
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Get Locations Tree",
|
||||
"summary": "(Deprecated) Get Locations Tree",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1443,7 +1443,7 @@
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Get Location",
|
||||
"summary": "(Deprecated) Get Location",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1475,7 +1475,7 @@
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Update Location",
|
||||
"summary": "(Deprecated) Update Location",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
@@ -1516,7 +1516,7 @@
|
||||
"tags": [
|
||||
"Locations"
|
||||
],
|
||||
"summary": "Delete Location",
|
||||
"summary": "(Deprecated) Delete Location",
|
||||
"deprecated": true,
|
||||
"parameters": [
|
||||
{
|
||||
|
||||
@@ -1041,7 +1041,7 @@ paths:
|
||||
$ref: '#/definitions/repo.PaginationResult-repo_ItemSummary'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Query All Items
|
||||
summary: (Deprecated) Query All Items
|
||||
tags:
|
||||
- Items
|
||||
post:
|
||||
@@ -1062,7 +1062,7 @@ paths:
|
||||
$ref: '#/definitions/repo.ItemSummary'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Create Item
|
||||
summary: (Deprecated) Create Item
|
||||
tags:
|
||||
- Items
|
||||
/v1/items/{id}:
|
||||
@@ -1081,7 +1081,7 @@ paths:
|
||||
description: No Content
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Delete Item
|
||||
summary: (Deprecated) Delete Item
|
||||
tags:
|
||||
- Items
|
||||
get:
|
||||
@@ -1101,7 +1101,7 @@ paths:
|
||||
$ref: '#/definitions/repo.ItemOut'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Get Item
|
||||
summary: (Deprecated) Get Item
|
||||
tags:
|
||||
- Items
|
||||
patch:
|
||||
@@ -1127,7 +1127,7 @@ paths:
|
||||
$ref: '#/definitions/repo.ItemOut'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Update Item
|
||||
summary: (Deprecated) Update Item
|
||||
tags:
|
||||
- Items
|
||||
put:
|
||||
@@ -1153,7 +1153,7 @@ paths:
|
||||
$ref: '#/definitions/repo.ItemOut'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Update Item
|
||||
summary: (Deprecated) Update Item
|
||||
tags:
|
||||
- Items
|
||||
/v1/items/{id}/attachments:
|
||||
@@ -1352,7 +1352,7 @@ paths:
|
||||
type: array
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Get the full path of an item
|
||||
summary: (Deprecated) Get the full path of an item
|
||||
tags:
|
||||
- Items
|
||||
/v1/items/export:
|
||||
@@ -1365,7 +1365,7 @@ paths:
|
||||
type: string
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Export Items
|
||||
summary: (Deprecated) Export Items
|
||||
tags:
|
||||
- Items
|
||||
/v1/items/fields:
|
||||
@@ -1382,7 +1382,7 @@ paths:
|
||||
type: array
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Get All Custom Field Names
|
||||
summary: (Deprecated) Get All Custom Field Names
|
||||
tags:
|
||||
- Items
|
||||
/v1/items/fields/values:
|
||||
@@ -1399,7 +1399,7 @@ paths:
|
||||
type: array
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Get All Custom Field Values
|
||||
summary: (Deprecated) Get All Custom Field Values
|
||||
tags:
|
||||
- Items
|
||||
/v1/items/import:
|
||||
@@ -1420,7 +1420,7 @@ paths:
|
||||
description: No Content
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Import Items
|
||||
summary: (Deprecated) Import Items
|
||||
tags:
|
||||
- Items
|
||||
/v1/labelmaker/assets/{id}:
|
||||
@@ -1606,7 +1606,7 @@ paths:
|
||||
type: array
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Get All Locations
|
||||
summary: (Deprecated) Get All Locations
|
||||
tags:
|
||||
- Locations
|
||||
post:
|
||||
@@ -1627,7 +1627,7 @@ paths:
|
||||
$ref: '#/definitions/repo.LocationSummary'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Create Location
|
||||
summary: (Deprecated) Create Location
|
||||
tags:
|
||||
- Locations
|
||||
/v1/locations/{id}:
|
||||
@@ -1646,7 +1646,7 @@ paths:
|
||||
description: No Content
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Delete Location
|
||||
summary: (Deprecated) Delete Location
|
||||
tags:
|
||||
- Locations
|
||||
get:
|
||||
@@ -1666,7 +1666,7 @@ paths:
|
||||
$ref: '#/definitions/repo.LocationOut'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Get Location
|
||||
summary: (Deprecated) Get Location
|
||||
tags:
|
||||
- Locations
|
||||
put:
|
||||
@@ -1692,7 +1692,7 @@ paths:
|
||||
$ref: '#/definitions/repo.LocationOut'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Update Location
|
||||
summary: (Deprecated) Update Location
|
||||
tags:
|
||||
- Locations
|
||||
/v1/locations/tree:
|
||||
@@ -1714,7 +1714,7 @@ paths:
|
||||
type: array
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Get Locations Tree
|
||||
summary: (Deprecated) Get Locations Tree
|
||||
tags:
|
||||
- Locations
|
||||
/v1/maintenance:
|
||||
|
||||
Reference in New Issue
Block a user