feat: Arazzo 1.1 support, source resolution, and schema index attribution - #612
Open
daveshanley wants to merge 3 commits into
Open
feat: Arazzo 1.1 support, source resolution, and schema index attribution#612daveshanley wants to merge 3 commits into
daveshanley wants to merge 3 commits into
Conversation
…tion Arazzo: - Add 1.1 model surface: selectors, output values, version/origin helpers, and the extended step/workflow/action fields, in both low and high models. - Rework the runtime expression parser and evaluator with a shared symbol table, 1.1 runtime sources, and stricter grammar/version conformance. - Add a pluggable source description resolver (CandidateDocumentProvider, SourceDocumentResolver, and OpenAPI/AsyncAPI/Arazzo adapters) so callers can supply source documents without libopenapi performing I/O. - Tighten validation and error reporting, including negative 1.1 fixtures, and extend the execution engine preflight checks. Schema and index: - Add SpecIndex.ResolveDocumentVersion so version dependent decisions can fall back to the rolodex root and decline when no version is reachable. - Correct schema index attribution during build so schemas report the file their content actually came from; document the SchemaProxy.GetIndex contract. - Fix inline $ref rendering for examples and v3 models. what-changed: - Copy only public fields when building the allOf comparison view, avoiding a copy of the schema's internal sync.Map. Plus extensive test coverage across arazzo, orderedmap, json, and the new index attribution fixtures.
This comment has been minimized.
This comment has been minimized.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #612 +/- ##
==========================================
+ Coverage 99.78% 99.87% +0.08%
==========================================
Files 283 291 +8
Lines 34456 36093 +1637
==========================================
+ Hits 34382 36047 +1665
+ Misses 46 27 -19
+ Partials 28 19 -9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Arazzo:
Schema and index:
what-changed:
Plus extensive test coverage across arazzo, orderedmap, json, and the new index attribution fixtures.