mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-02 07:40:28 +00:00
proper types for assetId
This commit is contained in:
parent
c07ae234ff
commit
50bbb38321
7 changed files with 7 additions and 7 deletions
|
@ -2227,7 +2227,7 @@ const docTemplate = `{
|
|||
"type": "boolean"
|
||||
},
|
||||
"assetId": {
|
||||
"type": "integer"
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
|
|
|
@ -2220,7 +2220,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"assetId": {
|
||||
"type": "integer"
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
|
|
|
@ -245,7 +245,7 @@ definitions:
|
|||
archived:
|
||||
type: boolean
|
||||
assetId:
|
||||
type: integer
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
fields:
|
||||
|
|
|
@ -68,7 +68,7 @@ type (
|
|||
ItemUpdate struct {
|
||||
ParentID uuid.UUID `json:"parentId" extensions:"x-nullable,x-omitempty"`
|
||||
ID uuid.UUID `json:"id"`
|
||||
AssetID AssetID `json:"assetId"`
|
||||
AssetID AssetID `json:"assetId" swaggertype:"string"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Quantity int `json:"quantity"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue