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
Problem. Importer gap and no standalone exporter/DSL representation; exporter can synthesize equivalent not:{} for an impossible enum, but does not preserve authored false schema identity.
Reproduce. Run go test ./internal/openapiimport -run '^TestSchemaAdmissionRejectsLossyNormalization$' -count=1 from the repository root. The focused existing test exercises the current boundary. Minimal schema: OAS 3.2 component schema Never: false, referenced by a response property. Existing source probe: TestSchemaAdmissionRejectsLossyNormalization case false schema across component/property/items positions.
Expected behavior. Import any false schema as an equivalent schema rejecting every JSON instance (the regenerated spelling may use an equivalent form such as not: {}). Test all JSON values and nested occurrences; keep true schemas and object-closing additionalProperties:false distinct.
Activity