Skip to content

Commit

Permalink
small fixes to hopefully show in swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
peter committed Aug 15, 2024
1 parent a297879 commit 5a02a7f
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions DoSomethingService/Controllers/v1/IdentityController.cs
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using DoSomethingService.Models;
using Microsoft.AspNetCore.Cors;

namespace DoSomethingService.Controllers.v1;

[Route("api/[controller]/[action]")]
[Route("api/v1/[controller]")]
[ApiController]
[ApiVersion("1.0")]
[EnableCors()]
public class IdentityController : Controller
{
[HttpPost(Name = "validate")]
[HttpPost("validate")]
public async Task<IActionResult> validate(){

string input = null;
Expand Down

0 comments on commit 5a02a7f

Please sign in to comment.