Skip to content

feat: emit the Node validation object from Spring and ASP.NET Core - #195

Merged
bluejeans117 merged 4 commits into
mainfrom
feat/spring-disagreement-loop
Sep 23, 2026
Merged

bluejeans117 merged 4 commits into
mainfrom
feat/spring-disagreement-loop

Conversation

@bluejeans117

@bluejeans117 bluejeans117 commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Spring MVC and ASP.NET Core snapshots include the same validation object Node emits. Acknowledgement stays informational and does not remove the route. FastAPI stays a route snapshot; include_in_schema=False is not treated as a validation failure.
  • matched, runtimeOnly, and documentedOnly use the same wire identity as validation, so /pets/{id} and /pets/{petId} are one operation.
  • Node, Java, and C# run contracts/contract-validation-fixtures.json. The public README still describes the published Node release. Java 0.10.0 and Prauga.FlexDoc.AspNetCore 0.7.0 do not contain this object yet.

Test plan

  • Node fixture test
  • mvn -f adapters/java-spring/pom.xml -Dtest=SpringContractValidationConformanceTest,SpringRuntimeIntelligenceTest test
  • ASP.NET contract program, including the shared fixture and the parameter-name snapshot
  • FastAPI snapshot test: parameter names do not create drift, and the snapshot has no validation object
  • CI, including the updated ASP.NET example smoke test

Spring already reads the live request mappings and an exact OpenAPI document. The snapshot now carries the same disagreement findings, including acknowledgement that keeps the route in the runtime record.

Signed-off-by: Vishnu R <vishnurajesh45@gmail.com>
EndpointDataSource already supplies the live routes and the exact OpenAPI document. The snapshot now carries the same disagreement findings as Node and Spring, including acknowledgement that keeps the route registered.

Signed-off-by: Vishnu R <vishnurajesh45@gmail.com>
@bluejeans117 bluejeans117 changed the title feat: emit the Node validation object from Spring MVC feat: emit the Node validation object from Spring and ASP.NET Core Sep 23, 2026
FastAPI already reads the live Starlette routes and the generated OpenAPI document. The snapshot now carries the same disagreement findings, including acknowledgement of a route hidden with include_in_schema=False.

Signed-off-by: Vishnu R <vishnurajesh45@gmail.com>
@bluejeans117 bluejeans117 changed the title feat: emit the Node validation object from Spring and ASP.NET Core feat: emit the Node validation object from Spring, ASP.NET Core, and FastAPI Sep 23, 2026
Spring and ASP.NET snapshots now match routes the same way validation does, so parameter names cannot produce an empty finding beside a drift count. Node, Java, and C# share one fixture. FastAPI stays a route snapshot, and the README still describes the published Node release.

Signed-off-by: Vishnu R <vishnurajesh45@gmail.com>
@bluejeans117 bluejeans117 changed the title feat: emit the Node validation object from Spring, ASP.NET Core, and FastAPI feat: emit the Node validation object from Spring and ASP.NET Core Sep 23, 2026
@bluejeans117
bluejeans117 merged commit 45bf5a4 into main Sep 23, 2026
19 checks passed
@bluejeans117
bluejeans117 deleted the feat/spring-disagreement-loop branch September 23, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant