@pipeline-builder/api-server 4.1.15 → 4.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,15 +38,13 @@ export interface CreateAppOptions {
38
38
  logStream?: boolean;
39
39
  /** Health check dependency checker — if provided, /health reports dependency status */
40
40
  checkDependencies?: () => Promise<Record<string, 'connected' | 'disconnected' | 'unknown'>>;
41
- /** Enable OpenAPI spec at /docs/openapi.json and Swagger UI at /docs (default: true) */
42
41
  /**
43
42
  * Serve the OpenAPI spec at `/docs/openapi.json` and Swagger UI at `/docs`.
44
43
  *
45
44
  * Defaults to OFF under `NODE_ENV=production`: the routes are registered above
46
- * the rate limiter and were never auth-gated, so in production they published
45
+ * the rate limiter and are not auth-gated, so in production they would publish
47
46
  * the full route + schema inventory of every service to anyone who could reach
48
- * the port. Only the CSP was tightened for production before, not the route.
49
- * Pass `true` explicitly to serve them in production anyway.
47
+ * the port. Pass `true` explicitly to serve them in production anyway.
50
48
  */
51
49
  enableOpenApi?: boolean;
52
50
  /** OpenAPI spec customization options */