Search…
Document Provider

Document Provider Client

About

This library implements a client to use DocumentProvider APIs
NOTE: Since there is a race condition while creating schemas in the build process, the documents-service has to be treated as external service. Therefore, the yaml has to be copied from apps/services/documents/src/openapi.yaml and pasted into the clientConfig.yaml.

Import into other NESTJS modules

Add the service to your module imports:
1
import { ClientsDocumentProviderModule } from '@island.is/clients/document-provider'
2
3
@Module({
4
imports: [
5
ClientsDocumentProviderModule.register({
6
basePath: SERVICE_DOCUMENTS_BASEPATH,
7
}),
8
],
9
})
Copied!

Code owners and maintainers