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