Skip to content

Commit

Permalink
Add note for nested types custom schema IDs (#2746)
Browse files Browse the repository at this point in the history
Update README.md for nested types custom schemaId support.
  • Loading branch information
antmeehan authored Apr 14, 2024
1 parent 830c5a6 commit 80575ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,8 @@ services.AddSwaggerGen(c =>
};
```

See https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/2703 for support for nested types.
### Override Schema for Specific Types ###

Out-of-the-box, Swashbuckle does a decent job at generating JSON Schemas that accurately describe your request and response payloads. However, if you're customizing serialization behavior for certain types in your API, you may need to help it out.
Expand Down

0 comments on commit 80575ac

Please sign in to comment.