Skip to content

Commit

Permalink
💩 Temporarily comment the tags that have the presentation definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
agmangas committed Apr 12, 2024
1 parent 629f710 commit 425cfd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mock-backend/http-api.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _build_presentation_definition() -> Dict[str, Any]:
@app.post(
"/consumption/prediction",
tags=["Electricity consumption"],
openapi_extra={_PRESENTATION_DEFINITION_EXT: _build_presentation_definition()},
# openapi_extra={_PRESENTATION_DEFINITION_EXT: _build_presentation_definition()},
)
async def run_consumption_prediction(
body: ElectricityConsumptionPredictionRequest,
Expand All @@ -112,7 +112,7 @@ async def run_consumption_prediction(
@app.get(
"/consumption",
tags=["Electricity consumption"],
openapi_extra={_PRESENTATION_DEFINITION_EXT: _build_presentation_definition()},
# openapi_extra={_PRESENTATION_DEFINITION_EXT: _build_presentation_definition()},
)
async def get_consumption_data(
location: str = "Asturias", day: date = None
Expand Down

0 comments on commit 425cfd8

Please sign in to comment.