A continuation of HomeBox the inventory and organization system built for the Home User
chore: fix swagger
Matthew Kilgore6b56ced549e8
diff --git a/backend/app/api/static/docs/docs.go b/backend/app/api/static/docs/docs.goindex 279bc5eb..14753e1c 100644--- a/backend/app/api/static/docs/docs.go+++ b/backend/app/api/static/docs/docs.go@@ -211,7 +211,7 @@ const docTemplate = `{}}},- "/v1/currency": {+ "/v1/currencies": {"get": {"produces": ["application/json"@@ -4274,6 +4274,10 @@ const docTemplate = `{"used_at": {"description": "UsedAt holds the value of the \"used_at\" field.","type": "string"+ },+ "user_id": {+ "description": "UserID holds the value of the \"user_id\" field.",+ "type": "string"}}},diff --git a/backend/app/api/static/docs/openapi-3.json b/backend/app/api/static/docs/openapi-3.jsonindex f2474084..b8f96667 100644--- a/backend/app/api/static/docs/openapi-3.json+++ b/backend/app/api/static/docs/openapi-3.json@@ -212,7 +212,7 @@}}},- "/v1/currency": {+ "/v1/currencies": {"get": {"tags": ["Base"@@ -4513,6 +4513,10 @@"used_at": {"description": "UsedAt holds the value of the \"used_at\" field.","type": "string"+ },+ "user_id": {+ "description": "UserID holds the value of the \"user_id\" field.",+ "type": "string"}}},diff --git a/backend/app/api/static/docs/openapi-3.yaml b/backend/app/api/static/docs/openapi-3.yamlindex c074bb7b..8c7d8ac0 100644--- a/backend/app/api/static/docs/openapi-3.yaml+++ b/backend/app/api/static/docs/openapi-3.yaml@@ -124,7 +124,7 @@ paths:application/json:schema:$ref: "#/components/schemas/repo.PaginationResult-repo_EntitySummary"- /v1/currency:+ /v1/currencies:get:tags:- Base@@ -2805,6 +2805,9 @@ components:used_at:description: UsedAt holds the value of the "used_at" field.type: string+ user_id:+ description: UserID holds the value of the "user_id" field.+ type: stringent.PasswordResetTokensEdges:type: objectproperties:diff --git a/backend/app/api/static/docs/swagger.json b/backend/app/api/static/docs/swagger.jsonindex 666f56c4..5b4a2f3e 100644--- a/backend/app/api/static/docs/swagger.json+++ b/backend/app/api/static/docs/swagger.json@@ -208,7 +208,7 @@}}},- "/v1/currency": {+ "/v1/currencies": {"get": {"produces": ["application/json"@@ -4271,6 +4271,10 @@"used_at": {"description": "UsedAt holds the value of the \"used_at\" field.","type": "string"+ },+ "user_id": {+ "description": "UserID holds the value of the \"user_id\" field.",+ "type": "string"}}},diff --git a/backend/app/api/static/docs/swagger.yaml b/backend/app/api/static/docs/swagger.yamlindex 2f828070..4e35a90e 100644--- a/backend/app/api/static/docs/swagger.yaml+++ b/backend/app/api/static/docs/swagger.yaml@@ -758,6 +758,9 @@ definitions:used_at:description: UsedAt holds the value of the "used_at" field.type: string+ user_id:+ description: UserID holds the value of the "user_id" field.+ type: stringtype: objectent.PasswordResetTokensEdges:properties:@@ -2464,7 +2467,7 @@ paths:summary: Get Item by Asset IDtags:- Items- /v1/currency:+ /v1/currencies:get:produces:- application/jsondiff --git a/docs/public/api/openapi-3.0.json b/docs/public/api/openapi-3.0.jsonindex f2474084..b8f96667 100644--- a/docs/public/api/openapi-3.0.json+++ b/docs/public/api/openapi-3.0.json@@ -212,7 +212,7 @@}}},- "/v1/currency": {+ "/v1/currencies": {"get": {"tags": ["Base"@@ -4513,6 +4513,10 @@"used_at": {"description": "UsedAt holds the value of the \"used_at\" field.","type": "string"+ },+ "user_id": {+ "description": "UserID holds the value of the \"user_id\" field.",+ "type": "string"}}},diff --git a/docs/public/api/openapi-3.0.yaml b/docs/public/api/openapi-3.0.yamlindex c074bb7b..8c7d8ac0 100644--- a/docs/public/api/openapi-3.0.yaml+++ b/docs/public/api/openapi-3.0.yaml@@ -124,7 +124,7 @@ paths:application/json:schema:$ref: "#/components/schemas/repo.PaginationResult-repo_EntitySummary"- /v1/currency:+ /v1/currencies:get:tags:- Base@@ -2805,6 +2805,9 @@ components:used_at:description: UsedAt holds the value of the "used_at" field.type: string+ user_id:+ description: UserID holds the value of the "user_id" field.+ type: stringent.PasswordResetTokensEdges:type: objectproperties:diff --git a/docs/public/api/swagger-2.0.json b/docs/public/api/swagger-2.0.jsonindex 666f56c4..5b4a2f3e 100644--- a/docs/public/api/swagger-2.0.json+++ b/docs/public/api/swagger-2.0.json@@ -208,7 +208,7 @@}}},- "/v1/currency": {+ "/v1/currencies": {"get": {"produces": ["application/json"@@ -4271,6 +4271,10 @@"used_at": {"description": "UsedAt holds the value of the \"used_at\" field.","type": "string"+ },+ "user_id": {+ "description": "UserID holds the value of the \"user_id\" field.",+ "type": "string"}}},diff --git a/docs/public/api/swagger-2.0.yaml b/docs/public/api/swagger-2.0.yamlindex 2f828070..4e35a90e 100644--- a/docs/public/api/swagger-2.0.yaml+++ b/docs/public/api/swagger-2.0.yaml@@ -758,6 +758,9 @@ definitions:used_at:description: UsedAt holds the value of the "used_at" field.type: string+ user_id:+ description: UserID holds the value of the "user_id" field.+ type: stringtype: objectent.PasswordResetTokensEdges:properties:@@ -2464,7 +2467,7 @@ paths:summary: Get Item by Asset IDtags:- Items- /v1/currency:+ /v1/currencies:get:produces:- application/jsondiff --git a/frontend/lib/api/types/data-contracts.ts b/frontend/lib/api/types/data-contracts.tsindex e59d220f..3542cefc 100644--- a/frontend/lib/api/types/data-contracts.ts+++ b/frontend/lib/api/types/data-contracts.ts@@ -550,6 +550,8 @@ export interface EntPasswordResetTokens {updated_at: string;/** UsedAt holds the value of the "used_at" field. */used_at: string;+ /** UserID holds the value of the "user_id" field. */+ user_id: string;}export interface EntPasswordResetTokensEdges {