JSONFoundation 2.2.0
Add the @Schema macro in its own JSONFoundationMacros target.
Moves the @Schema macro into JSONFoundation alongside the schema model it targets (SchemaMetadata, SchemaPropertyInfo, SchemaRepresentable), so any JSONFoundation consumer gets @Schema without depending on SwiftMCP.
- New build-time
.macrotarget JSONFoundationMacros (SchemaMacro+ the Documentation / String helpers it needs), behind swift-syntax. - Public
@Schemadeclaration in the JSONFoundation target. - Tests covering conformance synthesis, doc extraction, required/optional, and JSONSchema bridging.
Full Changelog: 2.1.2...2.2.0