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
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Cherry-pick for release/2.0: REST/OpenAPI/CLI/config-validation bug fixes (#3516)
### Why make this change?
Closes#3515
Ports a set of REST, OpenAPI, CLI, and configuration-validation bug
fixes from main to release/2.0 so the 2.0 release line includes:
* Correct HTTP semantics for invalid If-Match headers on REST PUT/PATCH
(now returns 400 instead of mishandling).
* Cleaner OpenAPI documents — descriptive 404 message when filtering by
a missing role, and removal of redundant _NoAutoPK / _NoPK schemas when
request-body-strict is false.
* Accurate config validation: corrected JSON-type mapping for int system
types, alignment of parent/child config behavior during deserialization
and startup, and improved entity validation logic.
* Schema completeness: level-2 property on runtime.cache in
dab.draft.schema.json.
* CLI quality-of-life: consistent log labels matching ASP.NET Core's
default console formatter, and clearer error messaging from dab validate
when a logger is not yet available.
### What is this change?
Cherry-picked PRs (chronological order on main):
* Add level-2 property to runtime.cache in dab.draft.schema.json #3317
* Make CLI Log Labels consistent with ASP.NET Core and use appropriate
label on startup #3307
* Align behavior between Parent and Child configs during deserialization
and startup #3321
* Add descriptive message when OpenAPI role filter returns 404 #3305
* Return 400 for invalid If-Match values #3415
* Fix dab validate error messaging when logger is not available #3311
* Omit redundant _NoAutoPK and _NoPK OpenAPI schemas when
request-body-strict is false #3325
* Map int types to integer in System Type to Json Type Map #3327
* Update config validation logic for entities #3306
### How was this tested?
Existing and newly added unit/integration tests from each source PR.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Souvik Ghosh <souvikofficial04@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Aniruddh Munde <anmunde@microsoft.com>
Co-authored-by: Anusha Kolan <anushakolan10@gmail.com>
Co-authored-by: RubenCerna2079 <32799214+RubenCerna2079@users.noreply.github.com>
0 commit comments