Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[.github] Add helper to return in-memory "model" of spec folder #33362

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

mikeharder
Copy link
Member

@mikeharder mikeharder commented Mar 20, 2025

I believe the authoritative source for readme.md parsing is package @autorest/configuration. I don't think we'd want to use this implementation directly, but we can use it as a reference, or possibly in tests to ensure our new implementation matches the existing logic.

Tests that might show how to use the API:

https://github.com/Azure/autorest/blob/53c9a2b82e10fed62097337bbdc516aed4120d49/packages/libs/configuration/test/scenarios.test.ts

https://github.com/Azure/autorest/blob/53c9a2b82e10fed62097337bbdc516aed4120d49/packages/extensions/core/test/configuration.e2e.ts

Copy link

openapi-pipeline-app bot commented Mar 20, 2025

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ The required check named Protected Files has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide

Copy link

openapi-pipeline-app bot commented Mar 20, 2025

PR validation pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment.

@mikeharder mikeharder self-assigned this Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

[EngSys] Add API readme.js:parse() to return all contained data
2 participants