responseTypeMapping 
Type: object | undefined | Default: undefined
Maps specific MIME types to Angular's HttpResponseType to customize how different response types are handled in generated services.
Usage 
typescript
// openapi.config.ts
import { GeneratorConfig } from 'ng-openapi';
const config: GeneratorConfig = {
  options: {
    responseTypeMapping: {
      'application/pdf': 'blob',
      'application/json': 'json',
      'text/plain': 'text',
      // Add more mappings as needed
    },
  },
  ... // other configurations
};
export default config;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Schema 
typescript
type ResponseTypeMapping = {
  [contentType: string]: "json" | "blob" | "arraybuffer" | "text";
};1
2
3
2
3