Add content-type constraint for the $convert endpoint. (#3723)
* Add content-type constraint for the $convert endpoint. * Update controller content-type.
This commit is contained in:
Родитель
bd3df51fd9
Коммит
07a632ad01
|
@ -29,6 +29,8 @@ namespace Microsoft.Health.Fhir.Api.Controllers
|
|||
{
|
||||
[ServiceFilter(typeof(AuditLoggingFilterAttribute))]
|
||||
[ServiceFilter(typeof(OperationOutcomeExceptionFilterAttribute))]
|
||||
[ServiceFilter(typeof(ValidateFormatParametersAttribute))]
|
||||
[Consumes("application/json", "application/fhir+json")]
|
||||
[ValidateResourceTypeFilter]
|
||||
[ValidateModelState]
|
||||
public class ConvertDataController : Controller
|
||||
|
|
Загрузка…
Ссылка в новой задаче