Skip to content

Commit

Permalink
Project Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinkoSpasojevic committed Nov 2, 2019
1 parent 659b174 commit fc98495
Show file tree
Hide file tree
Showing 25 changed files with 27 additions and 21 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
/GettingStartedWithSwaggerUI/bin
/GettingStartedWithSwaggerUI/.vs
/GettingStartedWithSwaggerUI/obj
/SwaggerUI/obj
/SwaggerUI/.vs
/SwaggerUI/bin
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Collections.Generic;
using GettingStartedWithSwaggerUI.Models;
using Microsoft.AspNetCore.Mvc;
using SwaggerUI.Models;

namespace GettingStartedWithSwaggerUI.Controllers
namespace SwaggerUI.Controllers
{
[Route("api/[controller]")]
[ApiController]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;

namespace GettingStartedWithSwaggerUI.Models
namespace SwaggerUI.Models
{
public class Employee
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

namespace GettingStartedWithSwaggerUI
namespace SwaggerUI
{
public class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
Expand All @@ -8,23 +7,21 @@
"sslPort": 44352
}
},
"$schema": "http://json.schemastore.org/launchsettings.json",
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchBrowser": false,
"launchUrl": "weatherforecast",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"GettingStartedWithSwaggerUI": {
"SwaggerUI": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "weatherforecast",
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.IO;
using System.Reflection;

namespace GettingStartedWithSwaggerUI
namespace SwaggerUI
{
public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,10 @@
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.0.0-rc4" />
</ItemGroup>

<ItemGroup>
<None Update="SwaggerUI.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@
<WebStackScaffolding_LayoutPageFile />
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
<ShowAllFiles>false</ShowAllFiles>
<ActiveDebugProfile>IIS Express</ActiveDebugProfile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29311.281
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GettingStartedWithSwaggerUI", "GettingStartedWithSwaggerUI.csproj", "{E8D36094-8632-43E0-A2BC-11CADC99E19C}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SwaggerUI", "SwaggerUI.csproj", "{E8D36094-8632-43E0-A2BC-11CADC99E19C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fc98495

Please sign in to comment.