A continuation of HomeBox the inventory and organization system built for the Home User
chore: add updated swagger files
Matthew Kilgore025f12e0060f
diff --git a/backend/app/api/static/docs/docs.go b/backend/app/api/static/docs/docs.goindex 51e01aad..96fab487 100644--- a/backend/app/api/static/docs/docs.go+++ b/backend/app/api/static/docs/docs.go@@ -1399,7 +1399,7 @@ const docTemplate = `{}}},- "/v1/labelmaker/assets/{id}": {+ "/v1/labelmaker/asset/{id}": {"get": {"security": [{diff --git a/backend/app/api/static/docs/openapi-3.json b/backend/app/api/static/docs/openapi-3.jsonindex e63b7eef..3c24baf4 100644--- a/backend/app/api/static/docs/openapi-3.json+++ b/backend/app/api/static/docs/openapi-3.json@@ -1496,7 +1496,7 @@}}},- "/v1/labelmaker/assets/{id}": {+ "/v1/labelmaker/asset/{id}": {"get": {"security": [{diff --git a/backend/app/api/static/docs/openapi-3.yaml b/backend/app/api/static/docs/openapi-3.yamlindex ee032e17..228132bb 100644--- a/backend/app/api/static/docs/openapi-3.yaml+++ b/backend/app/api/static/docs/openapi-3.yaml@@ -887,7 +887,7 @@ paths:type: arrayitems:$ref: "#/components/schemas/repo.ItemPath"- "/v1/labelmaker/assets/{id}":+ "/v1/labelmaker/asset/{id}":get:security:- Bearer: []diff --git a/backend/app/api/static/docs/swagger.json b/backend/app/api/static/docs/swagger.jsonindex ac55dee1..ea0aac4b 100644--- a/backend/app/api/static/docs/swagger.json+++ b/backend/app/api/static/docs/swagger.json@@ -1397,7 +1397,7 @@}}},- "/v1/labelmaker/assets/{id}": {+ "/v1/labelmaker/asset/{id}": {"get": {"security": [{diff --git a/backend/app/api/static/docs/swagger.yaml b/backend/app/api/static/docs/swagger.yamlindex 1bf517e8..5d342408 100644--- a/backend/app/api/static/docs/swagger.yaml+++ b/backend/app/api/static/docs/swagger.yaml@@ -2854,7 +2854,7 @@ paths:summary: Import Itemstags:- Items- /v1/labelmaker/assets/{id}:+ /v1/labelmaker/asset/{id}:get:parameters:- description: Asset IDdiff --git a/docs/public/api/openapi-3.0.json b/docs/public/api/openapi-3.0.jsonindex ff17fc9f..3c24baf4 100644--- a/docs/public/api/openapi-3.0.json+++ b/docs/public/api/openapi-3.0.json@@ -1496,7 +1496,7 @@}}},- "/v1/labelmaker/assets/{id}": {+ "/v1/labelmaker/asset/{id}": {"get": {"security": [{@@ -3456,7 +3456,7 @@},"quantity": {"description": "Quantity holds the value of the \"quantity\" field.",- "type": "integer"+ "type": "number"},"serial_number": {"description": "SerialNumber holds the value of the \"serial_number\" field.",@@ -3663,7 +3663,7 @@},"default_quantity": {"description": "DefaultQuantity holds the value of the \"default_quantity\" field.",- "type": "integer"+ "type": "number"},"default_tag_ids": {"description": "Default tag IDs for items created from this template",@@ -4384,7 +4384,7 @@"nullable": true},"quantity": {- "type": "integer"+ "type": "number"},"tagIds": {"type": "array",@@ -4503,7 +4503,7 @@"type": "string"},"quantity": {- "type": "integer"+ "type": "number"},"serialNumber": {"type": "string"@@ -4558,7 +4558,7 @@"nullable": true},"quantity": {- "type": "integer",+ "type": "number","x-omitempty": true,"nullable": true},@@ -4630,7 +4630,7 @@"type": "number"},"quantity": {- "type": "integer"+ "type": "number"},"soldTime": {"description": "Sale details",@@ -4691,7 +4691,7 @@},"defaultQuantity": {"description": "Default values for items",- "type": "integer",+ "type": "number","nullable": true},"defaultTagIds": {@@ -4772,7 +4772,7 @@},"defaultQuantity": {"description": "Default values for items",- "type": "integer"+ "type": "number"},"defaultTags": {"type": "array",@@ -4876,7 +4876,7 @@},"defaultQuantity": {"description": "Default values for items",- "type": "integer",+ "type": "number","nullable": true},"defaultTagIds": {@@ -5007,7 +5007,7 @@"type": "string"},"quantity": {- "type": "integer"+ "type": "number"},"serialNumber": {"description": "Identifications",@@ -5106,7 +5106,7 @@"type": "string"},"itemCount": {- "type": "integer"+ "type": "number"},"name": {"type": "string"@@ -5854,7 +5854,7 @@"minLength": 1},"quantity": {- "type": "integer"+ "type": "number"},"tagIds": {"type": "array",diff --git a/docs/public/api/openapi-3.0.yaml b/docs/public/api/openapi-3.0.yamlindex 69a59a92..228132bb 100644--- a/docs/public/api/openapi-3.0.yaml+++ b/docs/public/api/openapi-3.0.yaml@@ -887,7 +887,7 @@ paths:type: arrayitems:$ref: "#/components/schemas/repo.ItemPath"- "/v1/labelmaker/assets/{id}":+ "/v1/labelmaker/asset/{id}":get:security:- Bearer: []@@ -2091,7 +2091,7 @@ components:type: stringquantity:description: Quantity holds the value of the "quantity" field.- type: integer+ type: numberserial_number:description: SerialNumber holds the value of the "serial_number" field.type: string@@ -2236,7 +2236,7 @@ components:type: stringdefault_quantity:description: DefaultQuantity holds the value of the "default_quantity" field.- type: integer+ type: numberdefault_tag_ids:description: Default tag IDs for items created from this templatetype: array@@ -2735,7 +2735,7 @@ components:type: stringnullable: truequantity:- type: integer+ type: numbertagIds:type: arrayitems:@@ -2814,7 +2814,7 @@ components:description: Purchasetype: stringquantity:- type: integer+ type: numberserialNumber:type: stringsoldNotes:@@ -2852,7 +2852,7 @@ components:x-omitempty: truenullable: truequantity:- type: integer+ type: numberx-omitempty: truenullable: truetagIds:@@ -2901,7 +2901,7 @@ components:purchasePrice:type: numberquantity:- type: integer+ type: numbersoldTime:description: Sale detailstype: string@@ -2946,7 +2946,7 @@ components:nullable: truedefaultQuantity:description: Default values for items- type: integer+ type: numbernullable: truedefaultTagIds:type: array@@ -3002,7 +3002,7 @@ components:type: stringdefaultQuantity:description: Default values for items- type: integer+ type: numberdefaultTags:type: arrayitems:@@ -3075,7 +3075,7 @@ components:nullable: truedefaultQuantity:description: Default values for items- type: integer+ type: numbernullable: truedefaultTagIds:type: array@@ -3170,7 +3170,7 @@ components:description: Purchasetype: stringquantity:- type: integer+ type: numberserialNumber:description: Identificationstype: string@@ -3237,7 +3237,7 @@ components:id:type: stringitemCount:- type: integer+ type: numbername:type: stringupdatedAt:@@ -3735,7 +3735,7 @@ components:maxLength: 255minLength: 1quantity:- type: integer+ type: numbertagIds:type: arrayitems:diff --git a/docs/public/api/swagger-2.0.json b/docs/public/api/swagger-2.0.jsonindex 899faefa..ea0aac4b 100644--- a/docs/public/api/swagger-2.0.json+++ b/docs/public/api/swagger-2.0.json@@ -1397,7 +1397,7 @@}}},- "/v1/labelmaker/assets/{id}": {+ "/v1/labelmaker/asset/{id}": {"get": {"security": [{@@ -3255,7 +3255,7 @@},"quantity": {"description": "Quantity holds the value of the \"quantity\" field.",- "type": "integer"+ "type": "number"},"serial_number": {"description": "SerialNumber holds the value of the \"serial_number\" field.",@@ -3462,7 +3462,7 @@},"default_quantity": {"description": "DefaultQuantity holds the value of the \"default_quantity\" field.",- "type": "integer"+ "type": "number"},"default_tag_ids": {"description": "Default tag IDs for items created from this template",@@ -4183,7 +4183,7 @@"x-nullable": true},"quantity": {- "type": "integer"+ "type": "number"},"tagIds": {"type": "array",@@ -4302,7 +4302,7 @@"type": "string"},"quantity": {- "type": "integer"+ "type": "number"},"serialNumber": {"type": "string"@@ -4357,7 +4357,7 @@"x-omitempty": true},"quantity": {- "type": "integer",+ "type": "number","x-nullable": true,"x-omitempty": true},@@ -4429,7 +4429,7 @@"type": "number"},"quantity": {- "type": "integer"+ "type": "number"},"soldTime": {"description": "Sale details",@@ -4490,7 +4490,7 @@},"defaultQuantity": {"description": "Default values for items",- "type": "integer",+ "type": "number","x-nullable": true},"defaultTagIds": {@@ -4571,7 +4571,7 @@},"defaultQuantity": {"description": "Default values for items",- "type": "integer"+ "type": "number"},"defaultTags": {"type": "array",@@ -4675,7 +4675,7 @@},"defaultQuantity": {"description": "Default values for items",- "type": "integer",+ "type": "number","x-nullable": true},"defaultTagIds": {@@ -4806,7 +4806,7 @@"type": "string"},"quantity": {- "type": "integer"+ "type": "number"},"serialNumber": {"description": "Identifications",@@ -4905,7 +4905,7 @@"type": "string"},"itemCount": {- "type": "integer"+ "type": "number"},"name": {"type": "string"@@ -5653,7 +5653,7 @@"minLength": 1},"quantity": {- "type": "integer"+ "type": "number"},"tagIds": {"type": "array",diff --git a/docs/public/api/swagger-2.0.yaml b/docs/public/api/swagger-2.0.yamlindex 1ae0d937..5d342408 100644--- a/docs/public/api/swagger-2.0.yaml+++ b/docs/public/api/swagger-2.0.yaml@@ -301,7 +301,7 @@ definitions:type: stringquantity:description: Quantity holds the value of the "quantity" field.- type: integer+ type: numberserial_number:description: SerialNumber holds the value of the "serial_number" field.type: string@@ -446,7 +446,7 @@ definitions:type: stringdefault_quantity:description: DefaultQuantity holds the value of the "default_quantity" field.- type: integer+ type: numberdefault_tag_ids:description: Default tag IDs for items created from this templateitems:@@ -936,7 +936,7 @@ definitions:type: stringx-nullable: truequantity:- type: integer+ type: numbertagIds:items:type: string@@ -1017,7 +1017,7 @@ definitions:description: Purchasetype: stringquantity:- type: integer+ type: numberserialNumber:type: stringsoldNotes:@@ -1055,7 +1055,7 @@ definitions:x-nullable: truex-omitempty: truequantity:- type: integer+ type: numberx-nullable: truex-omitempty: truetagIds:@@ -1104,7 +1104,7 @@ definitions:purchasePrice:type: numberquantity:- type: integer+ type: numbersoldTime:description: Sale detailstype: string@@ -1147,7 +1147,7 @@ definitions:x-nullable: truedefaultQuantity:description: Default values for items- type: integer+ type: numberx-nullable: truedefaultTagIds:items:@@ -1205,7 +1205,7 @@ definitions:type: stringdefaultQuantity:description: Default values for items- type: integer+ type: numberdefaultTags:items:$ref: '#/definitions/repo.TemplateTagSummary'@@ -1276,7 +1276,7 @@ definitions:x-nullable: truedefaultQuantity:description: Default values for items- type: integer+ type: numberx-nullable: truedefaultTagIds:items:@@ -1371,7 +1371,7 @@ definitions:description: Purchasetype: stringquantity:- type: integer+ type: numberserialNumber:description: Identificationstype: string@@ -1440,7 +1440,7 @@ definitions:id:type: stringitemCount:- type: integer+ type: numbername:type: stringupdatedAt:@@ -1935,7 +1935,7 @@ definitions:minLength: 1type: stringquantity:- type: integer+ type: numbertagIds:items:type: string@@ -2854,7 +2854,7 @@ paths:summary: Import Itemstags:- Items- /v1/labelmaker/assets/{id}:+ /v1/labelmaker/asset/{id}:get:parameters:- description: Asset ID