@kaito-http/core 4.0.0-beta.17 → 4.0.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -142,7 +142,7 @@ type Route<ContextFrom, ContextTo, RouterInput extends readonly unknown[], Resul
|
|
|
142
142
|
};
|
|
143
143
|
path: Path;
|
|
144
144
|
method: Method;
|
|
145
|
-
openapi?:
|
|
145
|
+
openapi?: OutputSpec<Result>;
|
|
146
146
|
router: Router<ContextFrom, ContextTo, AdditionalParams, AnyRoute, RouterInput>;
|
|
147
147
|
run(data: RouteRunData<ExtractRouteParams<Path> | AdditionalParams, ContextTo, Query, Body>): Promise<Result> | Result;
|
|
148
148
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -142,7 +142,7 @@ type Route<ContextFrom, ContextTo, RouterInput extends readonly unknown[], Resul
|
|
|
142
142
|
};
|
|
143
143
|
path: Path;
|
|
144
144
|
method: Method;
|
|
145
|
-
openapi?:
|
|
145
|
+
openapi?: OutputSpec<Result>;
|
|
146
146
|
router: Router<ContextFrom, ContextTo, AdditionalParams, AnyRoute, RouterInput>;
|
|
147
147
|
run(data: RouteRunData<ExtractRouteParams<Path> | AdditionalParams, ContextTo, Query, Body>): Promise<Result> | Result;
|
|
148
148
|
};
|