Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to restrict CSV to only specific controller actions? #164

Open
VictorioBerra opened this issue Nov 26, 2018 · 0 comments
Open
Labels

Comments

@VictorioBerra
Copy link

VictorioBerra commented Nov 26, 2018

I am using the AddCsvSerializerFormatters right now and from what I understand, my entire server will now support CSV input/output. But I want to be more explicit about when this is allowed because I have some pretty complex objects in some of my actions.

EDIT: I assume I do not have to put [Produces("text/csv")] over every single action to force only that type, right?

@damienbod damienbod added the CSV label Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants