Skip to content

Instantly share code, notes, and snippets.

@vmandic
Last active May 15, 2019 21:35
Show Gist options
  • Save vmandic/ff5101761bca76b23099c137c2fb99ba to your computer and use it in GitHub Desktop.
Save vmandic/ff5101761bca76b23099c137c2fb99ba to your computer and use it in GitHub Desktop.
meds-processor, part/4, snippet #13
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace MedsProcessor.WebAPI.Controllers.v1_0
{
[ApiVersion("1.0"), Route("api/v{apiVersion:apiVersion}")]
[ProducesResponseType(401), ProducesResponseType(403)]
public abstract class ApiV1ControllerBase : ApiControllerBase { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment