REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1010 B
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@apidevtools/swagger-parser/lib/options.js
Text
Base64
"use strict"; const $RefParserOptions = require("@apidevtools/json-schema-ref-parser/lib/options"); const schemaValidator = require("./validators/schema"); const specValidator = require("./validators/spec"); const util = require("util"); module.exports = ParserOptions; /** * Options that determine how Swagger APIs are parsed, resolved, dereferenced, and validated. * * @param {object|ParserOptions} [_options] - Overridden options * @class * @augments $RefParserOptions */ function ParserOptions (_options) { $RefParserOptions.call(this, ParserOptions.defaults); $RefParserOptions.apply(this, arguments); } ParserOptions.defaults = { /** * Determines how the API definition will be validated. * * You can add additional validators of your own, replace an existing one with * your own implemenation, or disable any validator by setting it to false. */ validate: { schema: schemaValidator, spec: specValidator, }, }; util.inherits(ParserOptions, $RefParserOptions);
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
validators
DIR
-
drwxr-xr-x
2026-02-23 15:45:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.d.ts
27.92 KB
lrw-r--r--
2026-02-23 15:45:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
7.52 KB
lrw-r--r--
2026-02-23 15:45:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
options.js
1010 B
lrw-r--r--
2026-02-23 15:45:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
util.js
220 B
lrw-r--r--
2026-02-23 15:45:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).