-
Notifications
You must be signed in to change notification settings - Fork 276
Comparing changes
Open a pull request
base repository: microsoft/OpenAPI.NET
base: v2.7.3
head repository: microsoft/OpenAPI.NET
compare: v2.7.4
- 15 commits
- 24 files changed
- 5 contributors
Commits on Apr 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for f208e24 - Browse repository at this point
Copy the full SHA f208e24View commit details
Commits on Apr 17, 2026
-
Merge pull request #2826 from microsoft/ci/upgrade-net-10-to-v2
ci: upgrades repository to net10
Configuration menu - View commit details
-
Copy full SHA for 6ce4ea5 - Browse repository at this point
Copy the full SHA 6ce4ea5View commit details
Commits on Apr 27, 2026
-
fix: null reference exception for boolean component schemas
Co-authored-by: Copilot <[email protected]> Signed-off-by: Vincent Biret <[email protected]> (cherry picked from commit fe0b50a)
Configuration menu - View commit details
-
Copy full SHA for cc13028 - Browse repository at this point
Copy the full SHA cc13028View commit details -
test(schema): validate empty schema serialization across all OpenAPI …
…versions Convert SerializeBasicSchemaAsV3JsonWorks from a single-version test to a theory that validates empty schema serialization for all supported versions (2.0, 3.0, 3.1, 3.2). Co-authored-by: Copilot <[email protected]> (cherry picked from commit b6c1fe8)
Configuration menu - View commit details
-
Copy full SHA for 83421e0 - Browse repository at this point
Copy the full SHA 83421e0View commit details -
test(schema): add deserialization tests for empty and boolean schemas
Add theory tests across OpenAPI 3.1 and 3.2 to validate deserialization of: - Empty schema object ({}) - Boolean schema value (true) These tests ensure that non-standard but valid schema forms are parsed without errors and produce valid OpenApiSchema objects. Co-authored-by: Copilot <[email protected]> (cherry picked from commit b9b9b75)Configuration menu - View commit details
-
Copy full SHA for 542bde5 - Browse repository at this point
Copy the full SHA 542bde5View commit details -
test(schema): validate false schema deserializes to not with empty ob…
…ject Add tests for both OpenAPI 3.1 and 3.2 that verify when a schema is simply 'false', it deserializes to a schema with a Not property containing an empty schema object. This ensures JSON Schema 2020-12 boolean schema semantics are properly handled. Co-authored-by: Copilot <[email protected]> (cherry picked from commit 7d43b15)
Configuration menu - View commit details
-
Copy full SHA for 56118fe - Browse repository at this point
Copy the full SHA 56118feView commit details -
tests: pass serialization format to disambiguate
Co-authored-by: Copilot <[email protected]> Signed-off-by: Vincent Biret <[email protected]> (cherry picked from commit 15c1305)
Configuration menu - View commit details
-
Copy full SHA for f09704d - Browse repository at this point
Copy the full SHA f09704dView commit details -
fix(schema): support boolean schemas in deserializer for OpenAPI 3.1/3.2
Implement special handling for JSON Schema 2020-12 boolean schemas: - true: deserializes to empty schema (allows any value) - false: deserializes to schema with not: {} (disallows any value) This enables proper support for boolean schemas as defined in the OpenAPI 3.1 and 3.2 specifications, which adopt JSON Schema 2020-12. Co-authored-by: Copilot <[email protected]> (cherry picked from commit 05b44be)Configuration menu - View commit details
-
Copy full SHA for 48aaf23 - Browse repository at this point
Copy the full SHA 48aaf23View commit details -
docs(schema): document boolean schema serialization and deserialization
Add comprehensive documentation to the OpenApiSchema class summary explaining: - How boolean schemas deserialize: true → empty schema, false → not with empty - How to produce boolean schema-like behavior during serialization - Applicability to OpenAPI 3.1+ with JSON Schema 2020-12 support This clarifies the API contract for consumers working with boolean schemas. Co-authored-by: Copilot <[email protected]> (cherry picked from commit 509f332)
Configuration menu - View commit details
-
Copy full SHA for 43377ee - Browse repository at this point
Copy the full SHA 43377eeView commit details -
perf(schema): optimize boolean schema deserialization
Add generic GetValue<T>() method to ValueNode to allow direct type access without string conversion. Update V31 and V32 schema deserializers to use GetValue<bool>() directly instead of converting to string and parsing with bool.TryParse(). This eliminates unnecessary string allocations and conversions for boolean schema values, improving performance in the deserialization hot path. Co-authored-by: Copilot <[email protected]> (cherry picked from commit 7316e3f)
Configuration menu - View commit details
-
Copy full SHA for fe6f513 - Browse repository at this point
Copy the full SHA fe6f513View commit details -
test(schema): rename deserialization test for clarity
Rename DeserializeBasicSchemaWorks to DeserializeTrueSchemaParsesAsEmptySchema to better describe what the test validates - that boolean true values and empty schemas deserialize to the same result. Co-authored-by: Copilot <[email protected]> (cherry picked from commit a54c0fd)
Configuration menu - View commit details
-
Copy full SHA for 8b76605 - Browse repository at this point
Copy the full SHA 8b76605View commit details -
chore: adapt boolean schema cherry-picks to v2 branch
Remove references to OpenApi3_2 version and Self property which don't exist in the v2 support branch. Keep only v2.0, v3.0, and v3.1 support in tests. Co-authored-by: Copilot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bdfa30 - Browse repository at this point
Copy the full SHA 8bdfa30View commit details -
Merge pull request #2840 from microsoft/fix/boolean-schemas-to-v2
fix/boolean schemas to v2
Configuration menu - View commit details
-
Copy full SHA for ad16c3e - Browse repository at this point
Copy the full SHA ad16c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88cd42e - Browse repository at this point
Copy the full SHA 88cd42eView commit details -
Merge pull request #2841 from microsoft/release-please--branches--sup…
…port/v2--components--Microsoft.OpenApi chore(support/v2): release 2.7.4
Configuration menu - View commit details
-
Copy full SHA for 01be537 - Browse repository at this point
Copy the full SHA 01be537View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.7.3...v2.7.4