@redocly/openapi-language-server 0.9.5 → 0.9.6
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.
- package/lib/index.d.ts +1 -1
- package/lib/index.js +13 -13
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -325,7 +325,7 @@ declare module '@redocly/openapi-language-server/server/context-core' {
|
|
|
325
325
|
import { type Position } from 'vscode-languageserver/browser';
|
|
326
326
|
import { type ContextData, type ExistingValues, type OpenApiVersion, type TextDocumentWithLineOffset, type NodeWithPath, type NodePath, NodeWithItems } from '@redocly/openapi-language-server/server/types/context-core';
|
|
327
327
|
export function getContextData(uri: string, position: Position): Promise<ContextData>;
|
|
328
|
-
export function getSpecVersion(uri: string): Promise<OpenApiVersion<"oas2" | "oas3_0" | "oas3_1" | "oas3_2" | "async2" | "async3" | "arazzo1" | "overlay1" | "openrpc1">>;
|
|
328
|
+
export function getSpecVersion(uri: string): Promise<OpenApiVersion<"oas2" | "oas3_0" | "oas3_1" | "oas3_2" | "async2" | "async3" | "arazzo1" | "arazzo1_1" | "overlay1" | "openrpc1">>;
|
|
329
329
|
export function getAstNodeByPath(currentAst: yamlAst.YAMLNode | null, path: (number | string)[]): yamlAst.YAMLNode | null;
|
|
330
330
|
export function getAstNodeByPosition(start: NodeWithPath, position: Position, document: TextDocumentWithLineOffset, isContextData?: boolean): NodeWithPath;
|
|
331
331
|
export function getNodeLineIndent(node: yamlAst.YAMLNode | null | undefined, document: TextDocumentWithLineOffset): number;
|