.okf/conventions.md
FastEndpoints (file-scoped / namespace-per-file patterns common).Endpoint inside a feature namespace (see harness), not FooEndpoint._ prefix (editorconfig / ReSharper rules).FastEndpoints.<Area> NuGet IDs matching project folders..editorconfig).Endpoint.*.cs).GenerateDocumentationFile); suppress noise via project NoWarn.CS8618 suppressed for *Request.cs, *Response.cs, *Model*.cs, *Endpoint.cs patterns.Validator<TRequest> / endpoint Validator configuration.Config.Errors (including ProblemDetails helpers).OnBeforeValidate, send helpers) over ad-hoc MVC filters.Configure().IPreProcessor<TRequest>, IPostProcessor<TRequest,TResponse>.IMapper / request-response mappers; stateless (singleton lifetime expectation).ICommand / IEvent (+ handlers); job queue builds on commands.services.AddIdempotency() + endpoint Idempotency() (output-cache policy). Distinct from job-queue IdempotencyKeyFor.IFeatureFlag, call FeatureFlag<T>() in Configure().DontRegister, DontInject, HideFromDocs, RegisterService, etc. in Attributes package.UseFastEndpoints(c => { c.Serializer…; c.Endpoints…; }) → FastEndpoints.Config (Cfg alias).Endpoint/Group/Mapper inherit ServiceResolverClient; Validator/BinderContext/HttpContext extensions forward via ServiceResolverClient.Forward (do not re-copy the eight Resolve methods).Directory.Packages.props; do not hardcode versions in csproj except intentional VersionOverride / constrained ranges already present.FastEndpoints.AspVersioning: on .NET 10, AddVersioning(...) takes an optional trailing Action<VersionedOpenApiOptions> so consumers can configure the versioned OpenAPI documents from Asp.Versioning.OpenApi (that package is net10.0-only, hence the #if NET10_0_OR_GREATER guard and conditional package ref in Src/AspVersioning/).AppFixture<TProgram> / collection fixtures from FastEndpoints.Testing.POSTAsync<TEndpoint, TRequest, TResponse>) over raw URLs when endpoint types exist.[Trait("ExcludeInCiCd", "Yes")] to match CI filter..editorconfigSrc/Library/Endpoint/Src/Library/Config/Config.csSrc/Testing/TestHarness/Web/[Features]/