Skip to main content
Version: v3.x (DDN)

Environment Variables

You can configure the OpenAPI Lambda Connector using the following environment variables.

Supported Environment Variables

Environment VariableDescriptionRequiredExample Value
NDC_OAS_DOCUMENT_URIThe URI to your Open API Document. If you're using a file instead of a HTTP link, please ensure that it is named swagger.json and is present in the root directory of the volume being mounted to /etc/connectorfalsehttps://raw.githubusercontent.com/swagger-api/swagger-petstore/master/src/main/resources/openapi.yaml
NDC_OAS_BASE_URLThe base URL of your API.falsehttp://my-awesome-webapp.com/v1/
NDC_OAS_FILE_OVERWRITEA Boolean flag to allow previously generated files to be over-written. Defaults to false.falsetrue
HASURA_PLUGIN_LOG_LEVELThe log level. Possible values: trace, debug, info, warn, error, fatal, panic. Defaults to infofalseinfo
NDC_OAS_LAMBDA_PRETTY_LOGSA Boolean flag to print human readable logs instead of JSON. Defaults to falsefalsetrue