This PR introduces huge number of changes to Swagger, mainly for the dev experience. Although its the same in spirit as what @mickrip implemented, I've done quite a bit of refactoring and made it usable:
[x] Two components - FetchData & SendData - allowing the dev to fetch and send data, the React way
[x] One utility - ApiRequest - allowing dev to make network requests manually
[x] SwaggerView - allowing the dev to view, use and refer to swagger docs while developing locally on their machine
[x] Documentation - heaps of documentation, intellisense and mostly, works with TS too!
This PR introduces huge number of changes to Swagger, mainly for the dev experience. Although its the same in spirit as what @mickrip implemented, I've done quite a bit of refactoring and made it usable:
FetchData
&SendData
- allowing the dev to fetch and send data, the React wayApiRequest
- allowing dev to make network requests manuallySwaggerView
- allowing the dev to view, use and refer to swagger docs while developing locally on their machine