Document Provider
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 fromapps/services/documents/src/openapi.yaml
and pasted into theclientConfig.yaml
.
Add the service to your module imports:
import { ClientsDocumentProviderModule } from '@island.is/clients/document-provider'
@Module({
imports: [
ClientsDocumentProviderModule.register({
basePath: SERVICE_DOCUMENTS_BASEPATH,
}),
],
})
Last modified 1mo ago