Skip to main content

openapi_slice

Function openapi_slice 

Source
pub fn openapi_slice(manifest: &Manifest) -> Result<Plan>
Expand description

The OpenAPI slice (ADR-010): the src/app/openapi.rs route module plus the generated openapi.json. Used by gize new --openapi and reconciled by gize sync when features.openapi is on. The module is registered in app/mod.rs by the command, like any module. The spec describes the resource routes only — the openapi module is wired but never listed in [[module]], so it does not appear in its own spec.