mirror of
https://github.com/grocy/grocy.git
synced 2026-10-17 05:14:20 +02:00
Added Userfield schema to grocy.openapi.json (closes #2772)
This commit is contained in:
parent
d2b8d55803
commit
acd061e2cd
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user