openapi-ts-request
Version:
Swagger2/OpenAPI3/Apifox to TypeScript/JavaScript, request client(support any client), request mock service, enum and enum translation, react-query/vue-query, type field label, JSON Schemas
34 lines (33 loc) • 991 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.primitives = void 0;
exports.primitives = {
string: '@string',
string_email: '@email',
string_phone: '@phone',
string_username: '@cname',
string_url: '@url',
string_uuid: '@guid',
string_id: '@increment',
string_status: '@status',
string_authority: '@authority',
string_label: '@label',
string_group: '@group',
string_csentence: '@csentence',
string_cname: '@cname',
string_name: '@last',
string_errorCode: '@increment',
string_country: '@country',
string_county: '@county(true)',
string_province: '@province',
string_city: '@city',
string_avatar: '@avatar',
string_href: '@href',
'string_string(16)': '@string(16)',
'string_date-time': '@datetime',
string_date: '@date',
number: '@integer(60, 100)',
number_float: '@float(60, 100, 3, 5)',
integer: '@integer(60, 100)',
boolean: '@boolean',
};
;