Azure / Azure/data-api-builder

Decouple extraneous dependencies and code from RestController

Offen
#2,308 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @seantleonard Auf GitHub ansehen
refactor swagger usability
Vorherrschende Sprache
C#
Sterne
1.5k
Forks
370
Ø Merge
3 T. 22 Std.
Gemergte PRs (30 T.)
9

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.