@scalar/oas-utils
Version:
Open API spec and Yaml handling utilities
8 lines • 377 B
TypeScript
import type { ResponseObject } from '@scalar/workspace-store/schemas/v3.1/strict/response';
/**
* Remove charset from content types
*
* Example: `application/json; charset=utf-8` -> `application/json`
*/
export declare function normalizeMimeTypeObject(content?: ResponseObject['content']): ResponseObject['content'];
//# sourceMappingURL=normalize-mime-type-object.d.ts.map