这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@danielgtaylor
Copy link
Owner

This makes it so you can set a response status code of 0 to signify this is the OpenAPI "default" response, and updates a couple places to allow the responses to get written without causing errors. This helps in the rare case that you have a bunch of response status codes you could return and would rather use a default than list them all out.

@codecov
Copy link

codecov bot commented Apr 22, 2022

Codecov Report

Merging #43 (f7e9477) into main (02414da) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
+ Coverage   86.61%   86.63%   +0.01%     
==========================================
  Files          24       24              
  Lines        1928     1930       +2     
==========================================
+ Hits         1670     1672       +2     
  Misses        183      183              
  Partials       75       75              
Impacted Files Coverage Δ
context.go 87.80% <100.00%> (ø)
operation.go 82.73% <100.00%> (+0.25%) ⬆️

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 02414da...f7e9477. Read the comment docs.

@danielgtaylor danielgtaylor merged commit 49db25b into main Apr 22, 2022
@danielgtaylor danielgtaylor deleted the default-status branch April 22, 2022 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants