giraffe-fsharp/Giraffe.OpenApi
59.4
Weak · 3 October 2026
748
lines of production code
F#
primary language
2
measurements over time
What this system is
Giraffe.OpenApi is a .NET library that provides automatic OpenAPI documentation generation for Giraffe web applications, with specific support for F\# types like discriminated unions. It integrates with the ASP.NET Core OpenAPI pipeline to ensure accurate schema mapping and includes build infrastructure for reproducible development environments.
Features
Initial Nix build infrastructure for .NET projects
This change introduces the foundational Nix build configuration for the project, establishing reproducible builds for both the main library (Giraffe.OpenApi) and an example application. It adds \nix/default.nix\ to manage external sources via npins, alongside \nix/package.nix\ and \nix/example.nix\ which define the build modules using \buildDotnetModule\. The configuration pins specific .NET dependencies, including Microsoft.AspNetCore.OpenApi 10.0.0, Giraffe 8.2.0, and various F\# tooling packages, ensuring consistent build environments.
nix · high confidence
Initial release of Giraffe.OpenApi for .NET 10
This entry introduces the Giraffe.OpenApi library, which auto-generates OpenAPI documentation for Giraffe web applications. The project is initialized with version 0.1.0, targeting .NET 10.0 and upgrading Microsoft.AspNetCore.OpenApi to 10.0.0. It includes configuration for F\# code analysis, a build pipeline, and documentation for the \addOpenApi\ and \addOpenApiSimple\ functions.
(repo-wide) · high confidence
Initial release of Giraffe.OpenApi integration
This change introduces the \Giraffe.OpenApi\ library, providing first-class OpenAPI (Swagger) support for Giraffe applications. It adds configuration and routing modules (\Configuration.fs\, \Routing.fs\) that allow developers to define request/response metadata and integrate with ASP.NET Core's OpenAPI pipeline. A key feature is the \DiscriminatedUnionSchemaFilter\ (\SchemaFilters.fs\), which automatically maps F\# discriminated unions and .NET enums to OpenAPI string enums, ensuring accurate schema generation for F\#-specific types. The implementation relies on \Microsoft.AspNetCore.OpenApi\ 10.0.11 and Giraffe 8.2.0.
src/Giraffe.OpenApi · high confidence
New F\# Giraffe example app with .NET 10 and Scalar API docs
The example directory now contains a new F\# web application built on Giraffe 8.2.0 targeting .NET 10. This demo showcases F\#-specific JSON serialization via FSharp.SystemTextJson 1.4.36 and integrates Scalar.AspNetCore 2.17.2 to provide an interactive OpenAPI UI for the defined endpoints. The app includes sample routes for handling F\# discriminated unions and enums, demonstrating the updated framework support.
example · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 59 → 59 (-0.1)
- Rubric changed (rubric-2026.09.15 → rubric-2026.10.1) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 92 → 91 (-1.4)
- Maturity 50 → 50 (+0.0)
- Readiness 49 → 49 (+0.0)
- Security 80 → 80 (+0.0)
Resolved (2)
- Documentation: no installation or build instructions (README.md)
- Off-boarding risk: anonymized user #1
New (1)
- Off-boarding risk: anonymized user #1
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
giraffe-fsharp/Giraffe.OpenApi 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 3 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit b7f14eab5642c803b935f7ae7247a26f3a5479f8 — the exact code this score is about.
- Scored under rubric-2026.10.1 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-4f4226d619ea.