One of the important values users need to provide to submit simulations is the model_slug, but these aren't included in the API docs. The reason for this is that the valid set of values is dynamically built from models.yml, and currently isn't known until runtime. We should figure out if there are ways around this:
Updating the /apidoc page, which should be easy enough, but doesn't help the actual OpenAPI doc
Somehow updating the openapi.json file on server start-up
Changing the values to be read at compile-time, rather than build-time (which would help with #33 too)
One of the important values users need to provide to submit simulations is the model_slug, but these aren't included in the API docs. The reason for this is that the valid set of values is dynamically built from
models.yml
, and currently isn't known until runtime. We should figure out if there are ways around this:/apidoc
page, which should be easy enough, but doesn't help the actual OpenAPI docopenapi.json
file on server start-up