-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Merge feature/openapi to main #55182
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
Conversation
* Add entry-point APIs for OpenAPI support * Apply suggestions from code review Co-authored-by: Martin Costello <[email protected]> Co-authored-by: Rick Anderson <[email protected]> * Update docs and pass cancellation token to WriteAsync * Address feedback * Remove trailing comma in slnf * Address more feedback * Seal OpenApiOptions --------- Co-authored-by: Martin Costello <[email protected]> Co-authored-by: Rick Anderson <[email protected]>
* Add support for generating OpenAPI info and paths * Address feedback * Fix sample and options injection * Address more feedback
* Support generating OpenAPI operation and associated fields * Address feedback
* Add APIs for OpenAPI document transformers * Address feedback * Update doc comments * Address more feedback * Handle service lifetimes correctly in activated transformers * Handle disposable transformers * Benchmark on transformer count * Fix up disposable code and improve paths perf * Remove unused imports in SharedTypes for RDG tests * Clean up benchmarks and TryGetCachedOperationTransformerContext
* Add support for generating OpenAPI responses * Address feedback * Address more feedback
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume you aren't going to squash?
Unfortunately not since merge commits are prohibited on this repo. I plan on including links to the individual PRs in the squased commit description so there's some artifact of each commit out there. |
😮 since when? I vote we have an admin merge it so we don't lose commit history. |
I think we enforced this a while ago. @wtgodbe Thoughts on allowing a merge commit for this merge from a feature branch. |
Going with a squash and merge for now. I want to avoid trying anything unconventional with this PR and about 4 of the commits on this branch are not useful on their own 😅. I'll reference the appropriate issues in the squashed commit description. |
This PR merges changes in the
feature/openapi
branch to main. These changes have been reviewed in individual PRs targeting this branch (ref).Note: this pull request doesn't include JSON schema generation/schema filters at the moment. That's currently in progress in this branch based on prototypes of the upcoming JSON schema generation support coming to STJ. This will come in a later PR.