| 37 | ) |
| 38 | |
| 39 | type imlAPIModule struct { |
| 40 | serviceService service.IServiceService `autowired:""` |
| 41 | serviceOverviewService service_overview.IOverviewService `autowired:""` |
| 42 | apiDocService api_doc.IAPIDocService `autowired:""` |
| 43 | aiAPIService ai_api.IAPIService `autowired:""` |
| 44 | aiModelService ai_model.IProviderModelService `autowired:""` |
| 45 | apiService api.IAPIService `autowired:""` |
| 46 | transaction store.ITransaction `autowired:""` |
| 47 | } |
| 48 | |
| 49 | func (i *imlAPIModule) getAPIDoc(ctx context.Context, serviceId string) (*openapi3.T, error) { |
| 50 | doc, err := i.apiDocService.GetDoc(ctx, serviceId) |
nothing calls this directly
no outgoing calls
no test coverage detected