You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If someone can point me in the right direction for how to customize this OpenAPI config, I'd be more than happy to open a PR that adds instructions to the docs! 😄
The text was updated successfully, but these errors were encountered:
alexsoble
changed the title
Document how to customize OpenAPI info per country
Document how to customize OpenAPI info per country package
Jan 6, 2020
As a developer working on building a prototype using OpenFisca, I want to be able to customize the OpenAPI info returned by my API's
/spec
endpoint.I see that the OpenFisca-France API includes a custom "contact" field, contact@openfisca.fr:
— https://fr.openfisca.org/api/v21/spec
In my prototype API, the "contact" remains contact@openfisca.org, even though I specified
author_email=""
insetup.py
:— https://prototype-openfisca-usa-headstart.app.cloud.gov/spec
— https://github.com/18F/prototype-openfisca-usa-headstart/blob/master/setup.py#L9
I would ideally want to see this documentation under "OpenAPI specification configuration": https://openfisca.org/doc/openfisca-web-api/config-openapi.html.
If someone can point me in the right direction for how to customize this OpenAPI config, I'd be more than happy to open a PR that adds instructions to the docs! 😄
The text was updated successfully, but these errors were encountered: