@redocly/openapi-language-server 0.6.22 → 0.6.24

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 CHANGED
@@ -302,7 +302,7 @@ declare module '@redocly/openapi-language-server/server/context-core' {
302
302
  import { type Position } from 'vscode-languageserver/browser';
303
303
  import { type ContextData, type ExistingValues, type OpenApiVersion, type TextDocumentWithLineOffset, type NodeWithPath, type NodePath, NodeWithItems } from '@redocly/openapi-language-server/server/types/context-core';
304
304
  export function getContextData(uri: string, position: Position): Promise<ContextData>;
305
- export function getSpecVersion(uri: string): Promise<OpenApiVersion<"oas2" | "oas3_0" | "oas3_1" | "oas3_2" | "async2" | "async3" | "arazzo1" | "overlay1">>;
305
+ export function getSpecVersion(uri: string): Promise<OpenApiVersion<"oas2" | "oas3_0" | "oas3_1" | "oas3_2" | "async2" | "async3" | "arazzo1" | "overlay1" | "openrpc1">>;
306
306
  export function getAstNodeByPath(currentAst: yamlAst.YAMLNode | null, path: (number | string)[]): yamlAst.YAMLNode | null;
307
307
  export function getAstNodeByPosition(start: NodeWithPath, position: Position, document: TextDocumentWithLineOffset, isContextData?: boolean): NodeWithPath;
308
308
  export function getNodeLineIndent(node: yamlAst.YAMLNode | null | undefined, document: TextDocumentWithLineOffset): number;