10 lines
209 B
TypeScript
10 lines
209 B
TypeScript
export interface ApiMethod {
|
|
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | string;
|
|
description: string;
|
|
}
|
|
|
|
export interface ApiRoute {
|
|
category: string;
|
|
route: string;
|
|
methods: ApiMethod[];
|
|
} |