(identifier: Id)
| 259 | * @category constructors |
| 260 | */ |
| 261 | export const make = <const Id extends string>(identifier: Id): HttpApi<Id, never, HttpApiDecodeError> => |
| 262 | makeProto({ |
| 263 | identifier, |
| 264 | groups: new Map() as any, |
| 265 | errorSchema: HttpApiDecodeError, |
| 266 | annotations: Context.empty(), |
| 267 | middlewares: new Set() |
| 268 | }) |
| 269 | |
| 270 | /** |
| 271 | * Extract metadata from an `HttpApi`, which can be used to generate documentation |
nothing calls this directly
no test coverage detected
searching dependent graphs…