dev server swagger updation
This commit is contained in:
parent
e0cb2ccc7d
commit
b558fdf651
@ -38,7 +38,7 @@ if (app.Environment.IsDevelopment())
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI(options =>
|
||||
{
|
||||
options.SwaggerEndpoint("/swagger/v1/swagger.json","" );
|
||||
options.SwaggerEndpoint("/answers/swagger/v1/swagger.json","" );
|
||||
|
||||
});
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ var app = builder.Build();
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
app.UseSwaggerUI(options => { options.SwaggerEndpoint("/attachments/swagger/v1/swagger.json", ""); });
|
||||
}
|
||||
|
||||
app.UseAuthorization();
|
||||
|
@ -35,7 +35,7 @@ if (app.Environment.IsDevelopment())
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI(options =>
|
||||
{
|
||||
options.SwaggerEndpoint("/swagger/v1/swagger.json", "");
|
||||
options.SwaggerEndpoint("/employees/swagger/v1/swagger.json", "");
|
||||
// options.RoutePrefix = ""; // Serve Swagger UI at the root URL
|
||||
});
|
||||
}
|
||||
|
@ -34,8 +34,7 @@ if (app.Environment.IsDevelopment())
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI(options =>
|
||||
{
|
||||
options.SwaggerEndpoint("/swagger/v1/swagger.json", "");
|
||||
// options.RoutePrefix = ""; // Serve Swagger UI at the root URL
|
||||
options.SwaggerEndpoint("/locations/swagger/v1/swagger.json", "");
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@ var app = builder.Build();
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI(options => { options.SwaggerEndpoint("/swagger/v1/swagger.json", ""); });
|
||||
app.UseSwaggerUI(options => { options.SwaggerEndpoint("/questions/swagger/v1/swagger.json", ""); });
|
||||
}
|
||||
|
||||
app.UseAuthorization();
|
||||
|
@ -70,7 +70,7 @@ var app = builder.Build();
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI(options => { options.SwaggerEndpoint("/swagger/v1/swagger.json", ""); });
|
||||
app.UseSwaggerUI(options => { options.SwaggerEndpoint("/surveyresponses/swagger/v1/swagger.json", ""); });
|
||||
}
|
||||
|
||||
app.UseAuthorization();
|
||||
|
@ -53,7 +53,7 @@ var app = builder.Build();
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI(options => { options.SwaggerEndpoint("/swagger/v1/swagger.json", ""); });
|
||||
app.UseSwaggerUI(options => { options.SwaggerEndpoint("/survey/swagger/v1/swagger.json", ""); });
|
||||
}
|
||||
|
||||
app.UseAuthentication();
|
||||
|
@ -13,6 +13,9 @@ services:
|
||||
damageassesment.api.answers:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
networks:
|
||||
nginx-network:
|
||||
ipv4_address: 172.18.0.150
|
||||
ports:
|
||||
- "6001:80"
|
||||
|
||||
@ -20,6 +23,9 @@ services:
|
||||
damageassesment.api.attachments:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
networks:
|
||||
nginx-network:
|
||||
ipv4_address: 172.18.0.151
|
||||
ports:
|
||||
- "6002:80"
|
||||
|
||||
@ -27,24 +33,36 @@ services:
|
||||
damageassesment.api.employees:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
networks:
|
||||
nginx-network:
|
||||
ipv4_address: 172.18.0.152
|
||||
ports:
|
||||
- "6003:80"
|
||||
|
||||
damageassesment.api.locations:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
networks:
|
||||
nginx-network:
|
||||
ipv4_address: 172.18.0.153
|
||||
ports:
|
||||
- "6004:80"
|
||||
|
||||
damageassesment.api.questions:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
networks:
|
||||
nginx-network:
|
||||
ipv4_address: 172.18.0.154
|
||||
ports:
|
||||
- "6005:80"
|
||||
|
||||
damageassesment.api.survey:
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
networks:
|
||||
nginx-network:
|
||||
ipv4_address: 172.18.0.155
|
||||
ports:
|
||||
- "6006:80"
|
||||
|
||||
@ -57,6 +75,8 @@ services:
|
||||
- services__Employees=http://damageassesment.api.employees:80
|
||||
- services__Attachments=http://damageassesment.api.attachments:80
|
||||
- services__Surveys=http://damageassesment.api.survey:80
|
||||
networks:
|
||||
nginx-network:
|
||||
ipv4_address: 172.18.0.156
|
||||
ports:
|
||||
- "6007:80"
|
||||
|
Loading…
Reference in New Issue
Block a user