Implemented interface member:
property
Type
Microsoft.AspNetCore.Mvc.ApiExplorer.IApiResponseMetadataProvider.Type
4 writes to Type
Microsoft.AspNetCore.Mvc.Core (2)
ProducesResponseTypeAttribute.cs (2)
36
Type
= type ?? throw new ArgumentNullException(nameof(type));
52
Type
= type ?? throw new ArgumentNullException(nameof(type));
Mvc.Api.Analyzers.Test (2)
TestFiles\SymbolApiResponseMetadataProviderTest\GetResponseMetadataTests.cs (2)
32
[ProducesResponseType(typeof(object), 200,
Type
= typeof(Person), StatusCode = 201)]
44
[CustomInvalidProducesResponseType(
Type
= typeof(Person), StatusCode = "204")]
6 references to Type
Microsoft.AspNetCore.Mvc.Core (4)
ProducesResponseTypeAttribute.cs (4)
32
/// <param name="type">The <see cref="
Type
"/> of object that is going to be written in the response.</param>
44
/// <param name="type">The <see cref="
Type
"/> of object that is going to be written in the response.</param>
79
/// When <see langword="false"/>, then <see cref="
Type
"/> is set by user.
81
/// When <see langword="true"/>, then <see cref="
Type
"/> is set by by
Microsoft.AspNetCore.Mvc.Core.Test (2)
ProducesResponseTypeAttributeTests.cs (2)
56
Assert.NotNull(producesResponseTypeAttribute.
Type
);
57
Assert.Same(typeof(Person), producesResponseTypeAttribute.
Type
);