forked from Shared/esg
api url
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user