Skip to content
CAI
Software that uses CAICheck a score

giraffe-fsharp/Giraffe.OpenApi

52.4

Weak · 15 November 2026

748

lines of production code

F#

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

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

Dependencies

96 commits updating dependencies (3 manifests)

A dependency / build maintenance change in (dependencies) — 96 commits, 3 files: “build(deps): bump Swashbuckle.AspNetCore from 8.1.0 to 8.1.1”; “Bump Microsoft.AspNetCore.OpenApi from 10.0.10 to 10.0.11”; “build(deps): bump Swashbuckle.AspNetCore from 7.2.0 to 7.3.1”; and 93 more (refs \#55).

(dependencies) · medium confidence · unverified

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 54 → 52 (-1.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 99 → 100 (+0.8)
  • Architecture 94 → 92 (-1.0)
  • Maturity 35 → 35 (+0.0)
  • Readiness 49 → 49 (-0.0)
  • Security 81 → 71 (-9.7)
  • Performance 100 → 100 (+0.0)

Resolved (3)

  • IL efficiency: 1 authored method(s) exceed the IL budget (src/Giraffe.OpenApi/Transformers.fs)
  • No tests found
  • Off-boarding risk: anonymized user #1

New (2)

  • Off-boarding risk: anonymized user #1
  • Outdated: Microsoft.AspNetCore.OpenApi

Changes since last survey

  • 2 commits — 2 feature/other, 0 fixes

By area

  • (root) — 2 commits

Notable commits

  • change: Bump Microsoft.SourceLink.GitHub from 10.0.402 to 10.0.403
  • change: Bump Scalar.AspNetCore from 2.17.2 to 2.19.0

Written by cca.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 15 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 52ee319aedfcd97fc10cd46b6788054e529dc79d — the exact code this score is about.
  • Scored under rubric-2026.11.4 — 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.65+preprod-3c33c1882dc1.