mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 10:58:26 +00:00
Allow to change use enum for org/equipment
This commit is contained in:
@ -213,6 +213,12 @@ val openapiScalaSettings = Seq(
|
||||
case "personuse" =>
|
||||
field =>
|
||||
field.copy(typeDef = TypeDef("PersonUse", Imports("docspell.common.PersonUse")))
|
||||
case "orguse" =>
|
||||
field =>
|
||||
field.copy(typeDef = TypeDef("OrgUse", Imports("docspell.common.OrgUse")))
|
||||
case "equipmentuse" =>
|
||||
field =>
|
||||
field.copy(typeDef = TypeDef("EquipmentUse", Imports("docspell.common.EquipmentUse")))
|
||||
}))
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user