Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/yaml/browser/index.js>Document#setSchema

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
method Document.prototype.setSchema
import { Document } from "https://deno.land/x/windmill@v1.43.1/node_modules/yaml/browser/index.js";

Change the YAML version and schema used by the document. A null version disables support for directives, explicit tags, anchors, and aliases. It also requires the schema option to be given as a Schema instance value.

Overrides all previously set schema options.

Parameters

version
optional
options = [UNSUPPORTED]