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

Data Annotations #8087

Closed
steveoh opened this issue Aug 14, 2018 — with docs.microsoft.com · 2 comments
Closed

Data Annotations #8087

steveoh opened this issue Aug 14, 2018 — with docs.microsoft.com · 2 comments
Labels
Pri3 Source - Docs.ms Docs Customer feedback via GitHub Issue
Milestone

Comments

Copy link

steveoh commented Aug 14, 2018

I cannot get default values to show up in the json output.

  • I EnableAnnotations() in the SwaggerGen but it did not affect the output.
  • I added the new annotations lib thinking that might help but it also did not affect the output.

Is domaindrivendev/Swashbuckle.AspNetCore#412 related?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@steveoh
Copy link
Author

steveoh commented Aug 14, 2018

aspnet/Mvc#7563

@Rick-Anderson
Copy link
Contributor

@steveoh looks like aspnet/Mvc#7563 was fixed in PR aspnet/Mvc#7957

You could open an issue in https://github.com/aspnet/Mvc
Create the simplest possible app the reproduces the problem and share on a repo.

@Rick-Anderson Rick-Anderson added this to the Backlog milestone Aug 16, 2018
@Rick-Anderson Rick-Anderson added Pri3 Source - Docs.ms Docs Customer feedback via GitHub Issue labels Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pri3 Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
None yet
Development

No branches or pull requests

2 participants