You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/openapi-ts/src/types/input.d.ts
+53Lines changed: 53 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
importtype{
2
+
OpenApiMetaObject,
2
3
OpenApiParameterObject,
3
4
OpenApiRequestBodyObject,
4
5
OpenApiResponseObject,
@@ -246,12 +247,43 @@ export interface Filters {
246
247
}
247
248
248
249
exportinterfacePatch{
250
+
/**
251
+
* Patch the OpenAPI meta object in place. Useful for modifying general metadata such as title, description, version, or custom fields before further processing.
252
+
*
253
+
* @param meta The OpenAPI meta object for the current version.
254
+
*/
255
+
meta?: (
256
+
meta:
257
+
|OpenApiMetaObject.V2_0_X
258
+
|OpenApiMetaObject.V3_0_X
259
+
|OpenApiMetaObject.V3_1_X,
260
+
)=>void;
261
+
/**
262
+
* Patch OpenAPI parameters in place. The key is the parameter name, and the function receives the parameter object to modify directly.
0 commit comments