Spaces:
Sleeping
Sleeping
export interface ApiCollection { | |
key: string | |
endpoints: Array<ApiRoute> | |
wip?: boolean | |
} | |
export interface ApiRoute { | |
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | |
path: string, | |
parameters?: any, | |
body?: Array<Body>, | |
tooltips?: Record<string, string> | |
} | |
export interface Body { | |
key: string | |
label: string | |
required?: boolean | |
defaultValue?: any | |
} |