Skip to content

HttpStatusCode compatibility across framework #25495

@Petermarcu

Description

@Petermarcu

@incompletude commented on Fri Mar 16 2018

This is very inconvenient. Both ways produce errors.

[ProducesResponseType(HttpStatusCode.OK)] // cast

return StatusCode(HttpStatusCode.OK, users); // cast

Is there any reason for this?

Thx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions