modifiche namespace rimesse ad ApiPolo. rinominata solution
This commit is contained in:
parent
50b1223e30
commit
b37b66310e
@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.1.32319.34
|
VisualStudioVersion = 17.1.32319.34
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Api_VT", "ApiPolo\Api_VT.csproj", "{FCB070A4-CB11-48F7-8245-A609151A95F7}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApiPolo", "ApiPolo\ApiPolo.csproj", "{FCB070A4-CB11-48F7-8245-A609151A95F7}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@ -41,8 +41,6 @@ using Microsoft.Extensions.Primitives;
|
|||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using Api_VT.Models.VT_dbcontext;
|
|
||||||
using Api_VT.Models;
|
|
||||||
|
|
||||||
namespace ApiPolo.Controllers
|
namespace ApiPolo.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace Api_VT.Models
|
namespace ApiPolo.Models
|
||||||
{
|
{
|
||||||
public class CodiceSegnalazione
|
public class CodiceSegnalazione
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
using Api_VT.Models;
|
|
||||||
|
|
||||||
namespace ApiPolo.Models
|
namespace ApiPolo.Models
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
using ApiPolo.Models.VT_dbcontext;
|
using ApiPolo.Models.VT_dbcontext;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
namespace Api_VT.Models.VT_dbcontext
|
namespace ApiPolo.Models.VT_dbcontext
|
||||||
{
|
{
|
||||||
public class VT_CODICE_SEGNALAZIONE_DbContext : DbContext
|
public class VT_CODICE_SEGNALAZIONE_DbContext : DbContext
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4,9 +4,6 @@ using Microsoft.OpenApi.Models;
|
|||||||
using ApiPolo.Services;
|
using ApiPolo.Services;
|
||||||
using ApiPolo.Models.VT_dbcontext;
|
using ApiPolo.Models.VT_dbcontext;
|
||||||
using ApiPolo.Interfaces;
|
using ApiPolo.Interfaces;
|
||||||
//using ApiPolo.Data;
|
|
||||||
using Api_VT.Models;
|
|
||||||
using Api_VT.Models.VT_dbcontext;
|
|
||||||
|
|
||||||
namespace ApiPolo
|
namespace ApiPolo
|
||||||
{
|
{
|
||||||
@ -150,7 +147,7 @@ namespace ApiPolo
|
|||||||
string dt = oggi.ToString();
|
string dt = oggi.ToString();
|
||||||
gen.SwaggerDoc("v1", new OpenApiInfo { Title = "API VIRTUAL TASK - v.app 1.30", Version = dt });
|
gen.SwaggerDoc("v1", new OpenApiInfo { Title = "API VIRTUAL TASK - v.app 1.30", Version = dt });
|
||||||
|
|
||||||
var filePath = Path.Combine(System.AppContext.BaseDirectory, "Api_VT.xml");
|
var filePath = Path.Combine(System.AppContext.BaseDirectory, "ApiPolo.xml");
|
||||||
gen.IncludeXmlComments(filePath);
|
gen.IncludeXmlComments(filePath);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -186,7 +183,7 @@ namespace ApiPolo
|
|||||||
//app.UseSwaggerUI();
|
//app.UseSwaggerUI();
|
||||||
app.UseSwaggerUI(c =>
|
app.UseSwaggerUI(c =>
|
||||||
{
|
{
|
||||||
c.SwaggerEndpoint("/swagger/v1/swagger.json", "POLO API V2");
|
c.SwaggerEndpoint("/swagger/v1/swagger.json", "POLO API virtualtask");
|
||||||
|
|
||||||
});
|
});
|
||||||
//app.UseHttpsRedirection();
|
//app.UseHttpsRedirection();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user