export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'
export type BackendService = 'python' | 'go'
export type ApiExposure = 'public' | 'partner' | 'internal' | 'admin'

export interface ApiEndpoint {
  method: HttpMethod
  path: string
  description: string
  service: BackendService
  exposure?: ApiExposure
}

export interface ApiModule {
  id: string
  name: string
  service: BackendService
  basePath: string
  exposure: ApiExposure
  endpoints: ApiEndpoint[]
}
