2024-01-28 04:33:53 +03:00
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
2024-02-16 23:56:45 +03:00
|
|
|
|
using Mirea.Api.Dto.Responses;
|
2024-01-28 06:28:14 +03:00
|
|
|
|
using System;
|
2024-01-28 04:33:53 +03:00
|
|
|
|
|
2024-02-16 23:56:45 +03:00
|
|
|
|
namespace Mirea.Api.Endpoint.Common.Attributes;
|
2024-01-28 04:33:53 +03:00
|
|
|
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
|
2024-02-16 23:56:45 +03:00
|
|
|
|
public class BadRequestResponseAttribute() : ProducesResponseTypeAttribute(typeof(ErrorResponse), StatusCodes.Status400BadRequest);
|