* Fix paid organization creation limit * Clarify stack PR URL reporting * Clarify clickable stack PR links
Showing the changes to packages/plugins/openapi/src (1 of 14 files). Show all
Unified · Split
| @@ -1,4 +1,4 @@ | ||
| 1 | −import { Effect, Option } from "effect"; | |
| 1 | +import { Effect, Option, Predicate } from "effect"; | |
| 2 | 2 | import { Schema } from "effect"; |
| 3 | 3 | |
| 4 | 4 | import { parse, resolveSpecText, type ParsedDocument } from "./parse"; |
| @@ -255,7 +255,7 @@ const buildHeaderPresets = ( · 250 unmodified lines | ||
| 255 | 255 | return strategies.flatMap((strategy) => { |
| 256 | 256 | const resolved = strategy.schemes |
| 257 | 257 | .map((name) => schemeMap.get(name)) |
| 258 | − .filter((s): s is SecurityScheme => s !== undefined); | |
| 258 | + .filter(Predicate.isNotUndefined); | |
| 259 | 259 | |
| 260 | 260 | if (resolved.length === 0) return []; |
| 261 | 261 | |