This service is designed to easily browse and test a REST API described with the OpenAPI 3.0 Specification.
| Click here to support the development of this project. | |
|---|---|
![]() |
Koumoul develops the Data Fair ecosystem and hosts it as an online service. |
![]() |
Dawizz uses the Data Fair ecosystem inside its platform and supports its development. |
- drawerLocation : The location of the navigation-drawer. Can be
leftorright. Defaults toleft. - urlType : The type of the URL defined in the environment variable
ALLOWED_URLS. - operation : The
operationIdof the operation to navigate to. Reference : OpenAPI 3.1 Operation Object
⚠️ Deprecated:
url : The location of the API documentation file to load, in OpenAPI v3 JSON format.Replaced by theurlTypequery parameter instead and theALLOWED_URLSenvironment variable.hide-toolbar :trueorfalseto hide the toolbar (useful for iframe integration). Defaults tofalse.
-
USE_SIMPLE_DIRECTORY : A boolean to enable integration with SimpleDirectory. Defaults to
false. -
DEFAULT_URL : The default URL to load when no
urlTypequery parameter is provided. -
ALLOWED_URLS : A JSON object containing a list of allowed URLs. The keys are used as the
urlTypequery parameter. The values are the URLs to the OpenAPI files. These URLs can contain placeholders enclosed in curly braces {}, which will be replaced by the corresponding query parameters. The placeholders are defined by the keys of the query parameters. Defaults to an empty object.
Examples of ALLOWED_URLS :
{ "exampleYaml": "https://example1.com/openapi.yaml", "exampleWithUrlTemplate": "https://example2.com/{id}/openapi.json" }
By default, the viewer runs in standalone mode and does not integrate with SimpleDirectory.
However, you can enable integration to benefit from:
- Theming: Automatically adapts to the platform's look and feel.
- Language: Uses the same language settings as the environment.
To enable integration with SimpleDirectory, set the environment variable:
USE_SIMPLE_DIRECTORY=trueTake a look at the contribution guidelines.

