Skip to content

Commit

Permalink
Merge pull request #2053 from aml-org/W-16712475-parsing-option
Browse files Browse the repository at this point in the history
W-16712475 - Added parsing option allowing to parse extensions in eve…
  • Loading branch information
looseale authored Oct 3, 2024
2 parents 467a985 + 04df293 commit 9b37eb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions amf-cli/js/typings/amf-client-js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6503,6 +6503,7 @@ declare module "amf-client-js" {
getMaxYamlReferences: undefined | number;
isAmfJsonLdSerialization: boolean;
isTokens: boolean;
isExtensionsEverywhere: boolean;

constructor();

Expand All @@ -6523,6 +6524,10 @@ declare module "amf-client-js" {
withoutBaseUnitUrl(): ParsingOptions;

withoutTokens(): ParsingOptions;

withExtensionsEverywhere(): ParsingOptions;

withoutExtensionsEverywhere(): ParsingOptions;
}
export class Path {
static delimiter: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,6 @@ class ShapeParserContext(
)
}
}

def shouldParseExtensionsEverywhere: Boolean = options.extensionsEverywhere
}

0 comments on commit 9b37eb8

Please sign in to comment.