OasisLMF / OasisPlatform

Loss modelling platform.
BSD 3-Clause "New" or "Revised" License
40 stars 17 forks source link

Use version 2 of the API on api ls commands #1070

Closed Locoxella closed 3 months ago

Locoxella commented 3 months ago

Groups property is being used on:

But v1 of the API does not return property groups. Only v2 does.

After checking the swagger, updating to v2 seems better than removing groups from the sanitization of the returned body.

Using API v2 for:

Version 1 of the API lacks these methods. Using same configs as in the local files next to /meta-data/model_settings.json