docs(production): standardiserad produktionsberedskap och gap-analys

Lägger docs/production-readiness.md och siax/production-gaps.json enligt SIAX Master Definition of Done. Underlag: git-, kod- och live-evidens 2026-11-11. Nivån är evidensbaserad, inte ett leveransgodkännande.
This commit is contained in:
2026-11-10 09:15:21 +01:00
parent 0fda8cae48
commit 2bee8eb778
6135 changed files with 4 additions and 1718997 deletions
-23
View File
@@ -1,23 +0,0 @@
/**
* GET /api/v1/openapi.json: public OpenAPI 3.1 spec for the v1 surface.
*
* Generated from the Zod schema registry at request time. Cached for 5
* minutes in shared caches.
*/
import { NextResponse } from 'next/server'
import { generateOpenApiSpec } from '@/lib/api/v1/registry'
import { withPublicSecurityHeaders } from '@/lib/api/v1/security-headers'
import { getCanonicalBaseUrl } from '@/lib/api/v1/base-url'
import '@/lib/api/v1/load-routes'
export async function GET(_request: Request) {
const spec = generateOpenApiSpec(getCanonicalBaseUrl())
return NextResponse.json(spec, {
status: 200,
headers: withPublicSecurityHeaders({
'Cache-Control': 'public, max-age=300, s-maxage=300',
}),
})
}