-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hi I looked at past issues and saw that enums should now be implemented... Also saw some manual types, but where do I put them? all the TI files are regularly overwritten
This is the openapi fragment:
Address:
description: Address data for shipping or billing
type: object
properties:
AddressTypeID:
type: string
enum:
- BA
- EX
description: BA - Billing Address, EX - Expedition
This is the output from ts-interface-builder:
/**
* This module was automatically generated by `ts-interface-builder`
*/
import * as t from "ts-interface-checker";
// tslint:disable:object-literal-key-quotes
export const Address = t.iface([], {
"AddressTypeID": t.enumlit("Address", "AddressTypeID"),
});
const exportedTypeSuite: t.ITypeSuite = {
Address,
};
export default exportedTypeSuite;
Metadata
Metadata
Assignees
Labels
No labels