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

Does Typewriter work with ActionResult ? #348

Open
joe-oli opened this issue Nov 28, 2022 · 1 comment
Open

Does Typewriter work with ActionResult ? #348

joe-oli opened this issue Nov 28, 2022 · 1 comment

Comments

@joe-oli
Copy link

joe-oli commented Nov 28, 2022

For example, it is common to have C# controller Action-methods of the form
public async Task<ActionResult<MyModel>> DoSomething() {}

I could not find any examples that would handle this.

@AdaskoTheBeAsT
Copy link

You can use attribute ProducesResponseType -> sample
https://github.com/AdaskoTheBeAsT/NetCoreTypewriterRecipes/blob/master/src/AngularWebApiSample/Controllers/ComplexController.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants