mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 00:45:22 +00:00
openAPI Template
This commit is contained in:
parent
ac90abd621
commit
9620efccf1
@ -37,7 +37,7 @@
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Body_fastapi_gesamtlast_gesamtlast_post"
|
||||
"$ref": "#/components/schemas/GesamtlastRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -248,28 +248,6 @@
|
||||
},
|
||||
"components": {
|
||||
"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": {
|
||||
"properties": {
|
||||
"kapazitaet_wh": {
|
||||
@ -478,6 +456,28 @@
|
||||
"required": ["temperature", "pvpower"],
|
||||
"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": {
|
||||
"properties": {
|
||||
"detail": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user