Added Userfield schema to grocy.openapi.json (closes #2772)

This commit is contained in:
Bernd Bestel 2026-08-16 20:24:14 +02:00
parent d2b8d55803
commit acd061e2cd
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -301,6 +301,9 @@
},
{
"$ref": "#/components/schemas/ProductBarcode"
},
{
"$ref": "#/components/schemas/Userfield"
}
]
}
@ -376,6 +379,9 @@
},
{
"$ref": "#/components/schemas/ProductBarcode"
},
{
"$ref": "#/components/schemas/Userfield"
}
]
}
@ -469,6 +475,9 @@
},
{
"$ref": "#/components/schemas/ProductBarcode"
},
{
"$ref": "#/components/schemas/Userfield"
}
]
}
@ -552,6 +561,9 @@
},
{
"$ref": "#/components/schemas/ProductBarcode"
},
{
"$ref": "#/components/schemas/Userfield"
}
]
}
@ -5027,6 +5039,42 @@
}
}
},
"Userfield": {
"type": "object",
"properties": {
"entity": {
"type": "string"
},
"name": {
"type": "string"
},
"caption": {
"type": "string"
},
"type": {
"type": "string"
},
"show_as_column_in_tables": {
"type": "boolean"
},
"config": {
"type": "string"
},
"sort_number": {
"type": "integer"
},
"input_required": {
"type": "boolean"
},
"default_value": {
"type": "string"
},
"row_created_timestamp": {
"type": "string",
"format": "date-time"
}
}
},
"ExternalBarcodeLookupResponse": {
"type": "object",
"properties": {