Skip to content

Is it possible to also parse the location information of the schema/components? #2499

@lunarianss

Description

@lunarianss
        const resolver = new GitApiResolver(projectId, currentBranch, () => get().fileContentCache);
        const config = createEmptyRedoclyConfig();
        const document = makeDocumentFromString(fileContent, normalizedRootPath);

        const types = getTypesForSpec(document.parsed);

        const bundleResult = await bundleDocument({
          document,
          config,
          types,
          externalRefResolver: resolver,
          dereference: false,
          removeUnusedComponents: false,
        });

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions