Open sandcha opened 3 years ago
Thanks for reporting this bug @sandcha !
It seems it is not related to the latest OpenFisca Core version. I've tried in localhost with the previous version and this is what happened:
openfisca-france[master] > make install
openfisca-france[master] > pip install OpenFisca-Core==35.1.1
legislation-explorer[fix-legexp*] > npm start
I haven't been able to determine the source of this problem but my instinct tells me it could be related to the current OpenAPI specification used by the Web API.
I'll try to help on openfisca/openfisca-core#988 to see if we can solve this bug that way.
@openfisca/international-contrib help welcomed :)
What happened? When I try sending a request on /parameter (or /variable) endpoints on swagger, I get a red text area on the parameterID (or variableID) and nothing happens.
What I expected: To be able to try the Web API with the swagger interface and get the requested parameter (or variable) description (and a text area that doesn't reject the requested name and doesn't turn into a red area).
Additional information:
Tested on the legislation explorer of:
additionalProp1
parameter (andtotal_benefits
variable) of the country-template. In both cases, the Web API is able to respond to the tested requests.This might be a side effect of the last updates on openfisca-core like openfisca/openfisca-core#982