Created API Controllers (#1)

Removed strongly typed inventory objects

Added EAV inventory types

Added EAV object handling philosophy

Added controllers

Added EF Core migration integration

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-05-02 19:24:06 -05:00
parent 4674529b91
commit 0b357e1e13
47 changed files with 1252 additions and 219 deletions
+30 -9
View File
@@ -5,21 +5,42 @@ Content-Type: application/json
[
{
"name": "RTX 4070"
"name": "RTX 4070 Ti Super"
}
]
###
POST http://localhost:5244/inventory/upsert
POST http://localhost:5244/api/v1/InventoryType
Content-Type: application/json
[
]
###
POST http://localhost:5244/api/v1/inventorytype/upsert
Content-Type: application/json
[
{
"name": "RTX 4070 Ti Super",
"description": "Desktop GPU"
},
{
"name": "Ryzen 9 7950X3D",
"description": "Desktop CPU 16c/32t"
"name": "GPU",
"attributedefinitions": [
{
"name": "Brand",
"dataType": 0
},
{
"name": "VRAM_GB",
"dataType": 1
},
{
"name": "Chipset",
"dataType": 0
}
]
}
]
]
###
DELETE http://localhost:5244/api/v1/InventoryType/6
###