openapi-typescript-helpers
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -134,9 +134,9 @@ // HTTP types | ||
/** Return first JSON-like 2XX response from a path + HTTP method */ | ||
export type SuccessResponseJSON<PathMethod> = JSONLike<SuccessResponse<ResponseObjectMap<PathMethod>>>; | ||
export type SuccessResponseJSON<PathMethod> = SuccessResponse<ResponseObjectMap<PathMethod>>; | ||
/** Return first JSON-like 5XX or 4XX response from a path + HTTP method */ | ||
export type ErrorResponseJSON<PathMethod> = JSONLike<ErrorResponse<ResponseObjectMap<PathMethod>>>; | ||
export type ErrorResponseJSON<PathMethod> = ErrorResponse<ResponseObjectMap<PathMethod>>; | ||
/** Return JSON-like request body from a path + HTTP method */ | ||
export type RequestBodyJSON<PathMethod> = JSONLike<FilterKeys<OperationRequestBody<PathMethod>, "content">>; | ||
export type RequestBodyJSON<PathMethod> = FilterKeys<OperationRequestBody<PathMethod>, "content">; | ||
@@ -143,0 +143,0 @@ // Generic TS utils |
{ | ||
"name": "openapi-typescript-helpers", | ||
"description": "TypeScript helpers for consuming openapi-typescript types", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Drew Powers", |
Sorry, the diff of this file is not supported yet
17726