Azure / Azure/data-api-builder

Decouple extraneous dependencies and code from RestController

Open
#2,308 1 comment 0 reactions 1 assignee Claimed by @seantleonard View on GitHub
refactor swagger usability
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

RestController is due for revisiting to clean up the code since it's been a few years.
- OpenApiDocumenter would benefit from its own Controller class to clean up the code.
- Special route handling can be added for Favicon.ico (or even just add favicon to the project)
- Cleanup `DeterminePutPatchSemantics` function which is currently multi purpose: reject etag usage and swap out operation types.
- This should be split into two: middleware for rejecting etag usage (until we eventually support it), and just using expected operation types in restcontroller put patch routes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.