mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
openAPI Template
This commit is contained in:
parent
ac90abd621
commit
9620efccf1
@ -37,7 +37,7 @@
|
|||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/Body_fastapi_gesamtlast_gesamtlast_post"
|
"$ref": "#/components/schemas/GesamtlastRequest"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -248,28 +248,6 @@
|
|||||||
},
|
},
|
||||||
"components": {
|
"components": {
|
||||||
"schemas": {
|
"schemas": {
|
||||||
"Body_fastapi_gesamtlast_gesamtlast_post": {
|
|
||||||
"properties": {
|
|
||||||
"year_energy": {
|
|
||||||
"type": "number",
|
|
||||||
"title": "Year Energy"
|
|
||||||
},
|
|
||||||
"measured_data": {
|
|
||||||
"items": {
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"type": "array",
|
|
||||||
"title": "Measured Data"
|
|
||||||
},
|
|
||||||
"hours": {
|
|
||||||
"type": "integer",
|
|
||||||
"title": "Hours"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "object",
|
|
||||||
"required": ["year_energy", "measured_data", "hours"],
|
|
||||||
"title": "Body_fastapi_gesamtlast_gesamtlast_post"
|
|
||||||
},
|
|
||||||
"EAutoParameters": {
|
"EAutoParameters": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"kapazitaet_wh": {
|
"kapazitaet_wh": {
|
||||||
@ -478,6 +456,28 @@
|
|||||||
"required": ["temperature", "pvpower"],
|
"required": ["temperature", "pvpower"],
|
||||||
"title": "ForecastResponse"
|
"title": "ForecastResponse"
|
||||||
},
|
},
|
||||||
|
"GesamtlastRequest": {
|
||||||
|
"properties": {
|
||||||
|
"year_energy": {
|
||||||
|
"type": "number",
|
||||||
|
"title": "Year Energy"
|
||||||
|
},
|
||||||
|
"measured_data": {
|
||||||
|
"items": {
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": "array",
|
||||||
|
"title": "Measured Data"
|
||||||
|
},
|
||||||
|
"hours": {
|
||||||
|
"type": "integer",
|
||||||
|
"title": "Hours"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object",
|
||||||
|
"required": ["year_energy", "measured_data", "hours"],
|
||||||
|
"title": "GesamtlastRequest"
|
||||||
|
},
|
||||||
"HTTPValidationError": {
|
"HTTPValidationError": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"detail": {
|
"detail": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user