Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.

move controllers to v1 folder #84

Merged
merged 2 commits into from
Jan 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace Codit.LevelOne.Controllers
namespace Codit.LevelOne.Controllers.v1
{
[Route("/errors")]
[ApiController]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;

namespace Codit.LevelOne.Controllers
namespace Codit.LevelOne.Controllers.v1
{
[Route("world-cup/v1/[controller]")]
[ApiController]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;

namespace Codit.LevelOne.Controllers
namespace Codit.LevelOne.Controllers.v1
{

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;

namespace Codit.LevelOne.Controllers
namespace Codit.LevelOne.Controllers.v1
{
/// <summary>
/// All about the teams qualified to the World Cup
Expand Down
56 changes: 34 additions & 22 deletions maturity-level-one/src/Open-Api-Docs.xml

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Codit.LevelOne;
using Codit.LevelOne.Controllers;
using Codit.LevelOne.Controllers.v1;
using Codit.LevelOne.Models;
using Codit.LevelOne.Services;
using FluentAssertions;
Expand Down