sogno-platform / dpsim-api

REST API to run dynamic power system simulations using DPsim
Apache License 2.0
2 stars 2 forks source link

Remove multipart/form-data format for /simulation and simplify swagger UI #20

Closed richardmarston closed 2 years ago

richardmarston commented 2 years ago

Currently the load profile data for a simulation request is sent by using multipart/form-data for the /simulation endpoint post. This is not consistent with using sogno/file-service for the model data and makes the swagger ui more complicated to implement. We should move to using json for the /simuation endpoint with a file-service id for the load profile data. This will mean that the form parameters in the swagger UI will be listed correctly instead of being shown as "application/octet-stream"

richardmarston commented 2 years ago

Closed by https://github.com/sogno-platform/dpsim-api/pull/21