Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add Open-API spec for missing endpoints #1535

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

bstasyszyn
Copy link
Contributor

Added Open-API for loglevels and sidetree endpoints.

Also refactored the /loglevels endpoint to move it to its own package.

@cla-bot cla-bot bot added the cla-signed label Mar 14, 2023
@codecov
Copy link

codecov bot commented Mar 14, 2023

Codecov Report

Patch coverage: 85.71% and project coverage change: -0.02 ⚠️

Comparison is base (f716271) 88.04% compared to head (9ae181a) 88.02%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1535      +/-   ##
==========================================
- Coverage   88.04%   88.02%   -0.02%     
==========================================
  Files         219      223       +4     
  Lines       20764    20768       +4     
==========================================
  Hits        18282    18282              
- Misses       1584     1588       +4     
  Partials      898      898              
Impacted Files Coverage Δ
cmd/orb-server/startcmd/log.go 100.00% <ø> (+6.12%) ⬆️
pkg/document/resolvehandler/openapi.go 0.00% <0.00%> (ø)
pkg/document/updatehandler/openapi.go 0.00% <0.00%> (ø)
pkg/observability/loglevels/openapi.go 0.00% <0.00%> (ø)
pkg/observability/loglevels/loglevels.go 93.02% <93.02%> (ø)
cmd/orb-server/startcmd/start.go 66.97% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Added Open-API for loglevels and sidetree endpoints.

Also refactored the /loglevels endpoint to move it to its own package.

Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
@bstasyszyn bstasyszyn merged commit 0d0fb52 into trustbloc:main Mar 14, 2023
@bstasyszyn bstasyszyn deleted the openapi branch March 14, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants