Compare commits
No commits in common. "56e8e3e1d9f02cfd5ce37bb4d51a814dbcea5144" and "8e5003028de562ad787c74423242eeee12bef00c" have entirely different histories.
56e8e3e1d9
...
8e5003028d
|
@ -98,10 +98,9 @@ var app = builder.Build();
|
|||
|
||||
// Configure the HTTP request pipeline.
|
||||
|
||||
app.UseCustomSwagger(siteSetting.BaseUrl);
|
||||
//app.UseCustomSwagger(siteSetting.BaseUrl);
|
||||
app.UseSwagger();
|
||||
app.MapScalarUi();
|
||||
|
||||
//app.UseSwagger();
|
||||
//app.UseSwaggerUI();
|
||||
|
||||
if (app.Environment.IsProduction())
|
||||
|
|
|
@ -27,7 +27,7 @@ public static class ScalarUiConfiguration
|
|||
<!-- Optional: You can set a full configuration object like this: -->
|
||||
<script>
|
||||
var configuration = {
|
||||
theme: 'mars',
|
||||
theme: 'bluePlanet',
|
||||
}
|
||||
|
||||
document.getElementById('api-reference').dataset.configuration =
|
||||
|
|
|
@ -18,9 +18,9 @@ public static class SwaggerConfiguration
|
|||
new OpenApiInfo
|
||||
{
|
||||
Version = "v1",
|
||||
Title = "Netina Api Document",
|
||||
Description = "Netina api for netina clients , like shops , websites and apps",
|
||||
License = new OpenApiLicense { Name = "Vira Safir Fanavar" },
|
||||
Title = "iGarson Api Dacument",
|
||||
Description = "iGarson api for clients that wana use",
|
||||
License = new OpenApiLicense { Name = "Vira Safir Fanavar " },
|
||||
Contact = new OpenApiContact
|
||||
{
|
||||
Name = "Amir Hossein Khademi",
|
||||
|
|
Loading…
Reference in New Issue