feat: Added battery and battery_details schema
This commit is contained in:
parent
2cbcfcd54e
commit
2a7221cc89
@ -5,6 +5,8 @@ import logging
|
|||||||
SCHEMA_URL_TEMPLATE = '{domain}/api/openapi/specification'
|
SCHEMA_URL_TEMPLATE = '{domain}/api/openapi/specification'
|
||||||
SCHEMA_MODEL_MAP = {
|
SCHEMA_MODEL_MAP = {
|
||||||
'products': 'Product',
|
'products': 'Product',
|
||||||
|
'batteries': 'Battery',
|
||||||
|
'battery_detail': 'BatteryDetailsResponse',
|
||||||
'product_details': 'ProductDetailsResponse',
|
'product_details': 'ProductDetailsResponse',
|
||||||
'stock': 'StockEntry',
|
'stock': 'StockEntry',
|
||||||
'product_groups': 'ProductGroup',
|
'product_groups': 'ProductGroup',
|
||||||
|
Loading…
Reference in New Issue
Block a user