File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
app/src/main/resources/swagger Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "openapi" : " 3.0.1" ,
33 "info" : {
4- "title" : " selc-onboarding " ,
4+ "title" : " ${openapi_title} " ,
55 "description" : " Self Care OnBoarding API documentation" ,
66 "contact" : {
77 "name" : " PagoPA" ,
Original file line number Diff line number Diff line change 44 api_name = var. is_pnpg ? format (" selc-%s-pnpg-api-bff-onboarding" , var. env_short ) : format (" selc-%s-api-bff-onboarding" , var. env_short )
55 display_name = var. is_pnpg ? " BFF PNPG Onboarding API" : " BFF Onboarding API"
66 base_path = var. is_pnpg ? " imprese/onboarding" : " onboarding"
7+ openapi_title = var. is_pnpg ? " selc-pnpg-onboarding" : " selc-onboarding"
78}
89
910
@@ -34,8 +35,9 @@ module "apim_api_bff_onboarding" {
3435
3536 content_format = " openapi+json"
3637 content_value = templatefile (" ../../app/src/main/resources/swagger/api-docs.json" , {
37- url = format (" %s.%s" , var. api_dns_zone_prefix , var. external_domain )
38- basePath = local.base_path
38+ openapi_title = local.openapi_title
39+ url = format (" %s.%s" , var. api_dns_zone_prefix , var. external_domain )
40+ basePath = local.base_path
3941 })
4042
4143 subscription_required = false
You can’t perform that action at this time.
0 commit comments