Skip to content

feat: onboard swagger - #2175

Merged
utsabc merged 8 commits into
developfrom
feat.swagger
May 22, 2023
Merged

utsabc merged 8 commits into
developfrom
feat.swagger

Conversation

@utsabc

@utsabc utsabc commented May 15, 2023

Copy link
Copy Markdown
Contributor

Description of the change

This PR onboards swagger documentation for graphically documenting transformer apis, using koa2-swagger-ui we are documenting apis which are represented using yaml files as part of build process we processing the swagger definitions to swagger.json to expose the Swagger UI

utsabc added 2 commits May 15, 2023 00:46
adding misc routes for basic implementation for validating poc
@utsabc
utsabc requested a review from a team May 15, 2023 16:01
@utsabc utsabc changed the title feat(core):onboard swagger feat:onboard swagger May 15, 2023
@utsabc utsabc changed the title feat:onboard swagger feat: onboard swagger May 15, 2023
koladilip
koladilip previously approved these changes May 15, 2023

@koladilip koladilip left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need environment variable? why not enable by default?

@codecov

codecov Bot commented May 15, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (b08b11f) 88.58% compared to head (80fe099) 88.58%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2175   +/-   ##
========================================
  Coverage    88.58%   88.58%           
========================================
  Files          507      507           
  Lines        25730    25730           
  Branches      6357     6357           
========================================
  Hits         22792    22792           
  Misses        2624     2624           
  Partials       314      314           
Impacted Files Coverage Δ
src/util/prometheus.js 7.69% <ø> (ø)
src/util/redis/redisConnector.js 94.36% <100.00%> (ø)
src/v0/sources/shopify/config.js 100.00% <100.00%> (ø)
src/v0/sources/shopify/transform.js 97.65% <100.00%> (ø)
src/v0/sources/shopify/util.js 97.02% <100.00%> (ø)

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

Comment thread package.json Resolved
Comment thread src/routes/index.ts Resolved
Comment thread src/routes/index.ts Resolved
Comment thread src/routes/index.ts Resolved
Comment thread src/swagger/routes/misc.yaml Resolved
@utsabc
utsabc requested a review from a team as a code owner May 21, 2023 13:27
@utsabc
utsabc requested review from koladilip and mihir-4116 May 21, 2023 13:27
Comment thread src/routes/index.ts Resolved
Comment thread src/routes/index.ts Resolved
Comment thread package.json Resolved
Comment thread src/routes/index.ts Resolved
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

96.3% 96.3% Coverage
0.0% 0.0% Duplication

@koladilip koladilip left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, please avoid combining formatting and actual changes, it is getting hard see what is changed

@utsabc
utsabc merged commit 9817f2e into develop May 22, 2023
@utsabc
utsabc deleted the feat.swagger branch May 22, 2023 05:51
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.

3 participants