UNPKG

@ordercloud/oc-codegen

Version:

OpenAPI codegen tool built for the OrderCloud API

7 lines (6 loc) 283 B
import { OpenAPIV3 } from 'openapi-types'; import { Operation } from '../operation.model'; /** * Replace oc-codegen's model formatter with your own */ export type FormatModelHook = (rawModel: any, modelName: string, operations: Operation[], spec: OpenAPIV3.Document) => any;