You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenAPI 3.2: Support JSON Schema anchors and dynamic references within a resource #1022
OpenAPI 3.2: Support JSON Schema anchors and dynamic references within a resource
Problem. Import and export gap for schema-resource identity and dynamic reference resolution; excludes document retrieval/remote reference graphs.
Reproduce. Run go test ./internal/openapiimport -run '^TestSchemaGrammarKeywordsAreNeverSilentlyIgnored/\$dynamicRef$' -count=1 from the repository root. The focused existing test exercises the current boundary. Minimal schema: OAS 3.2 resource { $id: 'urn:example:node', $dynamicAnchor: 'node', type: 'object', properties: {child: {$dynamicRef: '#node'}} }. Existing rejection probes: TestSchemaGrammarKeywordsAreNeverSilentlyIgnored cases $id/$anchor/$dynamicAnchor/$dynamicRef.
Expected behavior. Preserve same-resource IDs and static/dynamic anchors/references with correct JSON Schema scope through import and regeneration. Cover nested resources and recursive generic shapes. Do not fetch external documents; that behavior belongs to document reference resolution.
Activity