JuliaComputing / OpenAPI.jl

OpenAPI helper and code generator for Julia
Other
43 stars 8 forks source link

server_response: added Content-Type for serialized json #55

Closed rssdev10 closed 1 year ago

codecov-commenter commented 1 year ago

Codecov Report

Merging #55 (3206616) into main (71febea) will decrease coverage by 0.18%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
- Coverage   80.99%   80.81%   -0.18%     
==========================================
  Files           7        7              
  Lines         563      563              
==========================================
- Hits          456      455       -1     
- Misses        107      108       +1     
Files Changed Coverage Δ
src/server.jl 77.41% <100.00%> (ø)

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

rssdev10 commented 1 year ago

This fix allows to properly see a serialized to JSON result. Otherwise, the Postman and browser dev tools may show it as plain text.

tanmaykm commented 1 year ago

Thanks!