Compare commits
3 Commits
8e5003028d
...
56e8e3e1d9
Author | SHA1 | Date |
---|---|---|
|
56e8e3e1d9 | |
|
ea4f17a5d9 | |
|
c519d9ac8c |
|
@ -98,9 +98,10 @@ var app = builder.Build();
|
|||
|
||||
// Configure the HTTP request pipeline.
|
||||
|
||||
//app.UseCustomSwagger(siteSetting.BaseUrl);
|
||||
app.UseSwagger();
|
||||
app.UseCustomSwagger(siteSetting.BaseUrl);
|
||||
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: 'bluePlanet',
|
||||
theme: 'mars',
|
||||
}
|
||||
|
||||
document.getElementById('api-reference').dataset.configuration =
|
||||
|
|
|
@ -18,9 +18,9 @@ public static class SwaggerConfiguration
|
|||
new OpenApiInfo
|
||||
{
|
||||
Version = "v1",
|
||||
Title = "iGarson Api Dacument",
|
||||
Description = "iGarson api for clients that wana use",
|
||||
License = new OpenApiLicense { Name = "Vira Safir Fanavar " },
|
||||
Title = "Netina Api Document",
|
||||
Description = "Netina api for netina clients , like shops , websites and apps",
|
||||
License = new OpenApiLicense { Name = "Vira Safir Fanavar" },
|
||||
Contact = new OpenApiContact
|
||||
{
|
||||
Name = "Amir Hossein Khademi",
|
||||
|
|
Loading…
Reference in New Issue