herbsjs / herbsshelf

Dynamically generated documentation for your domain
Other
8 stars 16 forks source link

Refactor to array description for Request and Response #27

Closed KelvinFelix closed 2 years ago

KelvinFelix commented 2 years ago

Fixes # Refactor to solve this issue https://github.com/herbsjs/herbsshelf/issues/15

With this refactor, the request and responses cards will be show like above:

Request:

ids : Array of Number

Response:

Array of Item

Proposed Changes

  1. Requests cards show ids : Array of Number
  2. Response cards show Array of Item
  3. ...

Readiness Checklist

Author/Contributor

Reviewing Maintainer

codecov[bot] commented 2 years ago

Codecov Report

Merging #27 (1df265c) into main (307b906) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   98.21%   98.21%           
=======================================
  Files           7        7           
  Lines          56       56           
=======================================
  Hits           55       55           
  Misses          1        1           
Impacted Files Coverage Δ
src/template/components/requestCard.js 100.00% <ø> (ø)
src/template/components/responseCard.js 100.00% <ø> (ø)
src/template/default.js 94.44% <ø> (ø)
src/shelf.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 307b906...1df265c. Read the comment docs.