Merge pull request 'api url' (#10) from s.hajizadeh/esg:main into main

Reviewed-on: Shared/esg#10
This commit is contained in:
2026-07-04 14:30:58 +03:30

View File

@@ -63,9 +63,12 @@ async function bootstrap(): Promise<void> {
.setTitle('External Services Gateway') .setTitle('External Services Gateway')
.setDescription( .setDescription(
'Unified gateway for external inquiry providers with JWT authentication, RBAC, ' + 'Unified gateway for external inquiry providers with JWT authentication, RBAC, ' +
'per-user inquiry access, audit logging, and normalized inquiry responses.', 'per-user inquiry access, audit logging, and normalized inquiry responses.',
) )
.setVersion('1.0') .setVersion('1.0')
.addServer("http://localhost:8085")
.addServer("https://apex.mic.co.ir/esg/api")
.addServer(process.env.BASE_URL_PROD)
.addBearerAuth( .addBearerAuth(
{ type: 'http', scheme: 'bearer', bearerFormat: 'JWT', in: 'header' }, { type: 'http', scheme: 'bearer', bearerFormat: 'JWT', in: 'header' },
'bearer', 'bearer',