Azure / Azure/data-api-builder

Decouple extraneous dependencies and code from RestController

Aperta
#2,308 1 commento 0 reazioni 1 assegnatario Rivendicata da @seantleonard Vedi su GitHub
refactor swagger usability
Lingua principale
C#
Stelle
1.5k
Fork
370
Merge medio
3g 22h
PR unite (30g)
9

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.