Skip to content

ApiExplorerOptions

Defined in: src/plugins/application/api-explorer/plugin.ts:11

Property Type Description Defined in

baseDocument?

any

src/plugins/application/api-explorer/plugin.ts:12

enableSourceView?

boolean

Allow the /_source endpoint to serve source files to the API explorer client. This is automatically disabled in production (NODE_ENV === 'production') to prevent accidental exposure of source code, env files, or secrets. Set to true to re-enable in non-development environments (not recommended unless the explorer is behind authentication).

Default

false in production, true in development

src/plugins/application/api-explorer/plugin.ts:22

path?

string

src/plugins/application/api-explorer/plugin.ts:13