fsprojects/SwaggerProvider
60.4
Adequate · 13 November 2026
2.7k
lines of production code
F#
primary language
8
measurements over time
What this system is
Removals
Removal of legacy scaffolding and metadata files
The SwaggerProvider source directory has been cleaned of legacy scaffolding artifacts. Specifically, the AssemblyInfo.fs file (containing version metadata), the Library.fs placeholder module, the Script.fsx sample script, and the paket.references and paket.template dependency configuration files have been deleted. This removes unused boilerplate and external dependency manifest files from the project structure.
src/SwaggerProvider · high confidence
Security
Introduce SSRF protection and schema validation controls in the design-time provider
The design-time provider now includes Server-Side Request Forgery (SSRF) protection by default, blocking HTTP URLs, localhost, and private IP ranges (both IPv4 and IPv6) when fetching remote schemas. A new \SsrfProtection\ static parameter allows users to disable this validation for development or testing. Additionally, an \IgnoreParseErrors\ parameter lets the provider continue generating types even if the OpenAPI schema contains validation errors, exposing any tolerated errors via the new \SchemaReaderErrors\ property.
src/SwaggerProvider.DesignTime · high confidence
Behavioural changes
Introduce dedicated runtime assembly with improved error handling and performance
SwaggerProvider now ships a dedicated runtime library (SwaggerProvider.Runtime) that separates runtime helpers from design-time logic. This change enhances error reporting by including the HTTP response body in OpenApiException messages, ensuring users see the full server error context. It also improves performance by reducing allocations and reflection overhead in generated operation code, and adds support for text/plain payload types and DateOnly/TimeOnly serialization.
src/SwaggerProvider.Runtime · high confidence
Migrate build system to .NET SDK and update solution structure
The build infrastructure has been migrated from the legacy Paket/FAKE runner to the modern .NET SDK tooling, replacing the old \build.cmd\ and \build.sh\ scripts with \dotnet tool restore\ and \dotnet fsi\ commands. The solution file has been restructured to explicitly include the new \SwaggerProvider.DesignTime\ and \Swashbuckle.WebApi.Server\ projects, and the global SDK baseline has been updated to version 10.0.301. Additionally, an \.editorconfig\ file has been added to enforce consistent F\# coding styles, and legacy CI configurations for Travis CI and AppVeyor have been removed.
(repo-wide) · high confidence
Test coverage
Added F\# test server for Swashbuckle integration; Added test fixture controllers for file uploads, text formats, and type variations; Added test script for SwaggerClientProvider; Expanded test coverage for SwaggerProvider internals; Expanded test coverage for SwaggerProvider type provider.
Dependencies
Upgrade to .NET 10 and modernize build infrastructure
The project has migrated its target framework from .NET Framework 4.0 to .NET 10.0 (net10.0) across the runtime, design-time, and test assemblies. This upgrade is accompanied by a transition from the legacy .csproj format to the SDK-style project system and a switch from NuGet v2 to the v3 API. Additionally, the documentation site now uses VitePress, and the dependency graph has been updated to include FSharp.Core 10.1, System.Text.Json 10.0, and Microsoft.OpenApi 2.12.
(dependencies) · high confidence
Housekeeping
Version bump to 4.2.0
The assembly version information in src/Common/AssemblyInfo.fs has been updated to 4.2.0, reflecting the current release version of the SwaggerProvider library.
src/Common · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 61 → 60 (-0.9)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 67 → 67 (+0.0)
- Architecture 97 → 97 (+0.0)
- Maturity 64 → 54 (-10.0)
- Readiness 51 → 62 (+11.2)
- Security 70 → 59 (-11.6)
- Performance 100 → 100 (+0.0)
Resolved (5)
- Coverage not measured — no coverage collector is wired up
- Documentation: no installation or build instructions (packages/test/xunit.analyzers/_content/README.md)
- Documentation: no installation or build instructions (packages/test/xunit.v3.assert/_content/README.md)
- Vulnerable: System.Security.Cryptography.Pkcs
- Vulnerable: System.Security.Cryptography.Xml
New (44)
- High CVE: Microsoft.AspNetCore.WebUtilities 10.0.12
- Outdated: Microsoft.AspNetCore
- Outdated: Microsoft.AspNetCore.Antiforgery
- Outdated: Microsoft.AspNetCore.Authentication.Abstractions
- Outdated: Microsoft.AspNetCore.Authentication.Core
- Outdated: Microsoft.AspNetCore.Authorization.Policy
- Outdated: Microsoft.AspNetCore.Cors
- Outdated: Microsoft.AspNetCore.Diagnostics
- Outdated: Microsoft.AspNetCore.Diagnostics.Abstractions
- Outdated: Microsoft.AspNetCore.HostFiltering
- Outdated: Microsoft.AspNetCore.Hosting
- Outdated: Microsoft.AspNetCore.Hosting.Abstractions
- Outdated: Microsoft.AspNetCore.Hosting.Server.Abstractions
- Outdated: Microsoft.AspNetCore.Html.Abstractions
- Outdated: Microsoft.AspNetCore.Http
- Outdated: Microsoft.AspNetCore.Http.Abstractions
- Outdated: Microsoft.AspNetCore.Http.Extensions
- Outdated: Microsoft.AspNetCore.HttpOverrides
- Outdated: Microsoft.AspNetCore.HttpsPolicy
- Outdated: Microsoft.AspNetCore.Localization
- …and 24 more
Changes since last survey
- 4 commits — 4 feature/other, 0 fixes
By area
- .config/dotnet-tools.json — 2 commits
- .github/aw — 1 commit
- .github/workflows — 1 commit
Notable commits
- change: Bump fantomas from 8.0.10 to 8.1.0 (#519)
- change: Bump fantomas from 8.1.0 to 8.1.1 (#520)
- change: update repo assist
- change: update repo assist
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
fsprojects/SwaggerProvider was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 812023e694205ebe7eda72617729ea0f452ea9a1 — the exact code this score is about.
- Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-b8b1a43ae4c3.