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

feat: generate APIs from swagger #44

Merged
merged 9 commits into from
Oct 5, 2020
Merged

feat: generate APIs from swagger #44

merged 9 commits into from
Oct 5, 2020

Conversation

rhajek
Copy link
Contributor

@rhajek rhajek commented Oct 2, 2020

Proposed Changes

This PR contains generated APIs from swagger using influxdb-clients-apigen generator.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • make test completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2020

Codecov Report

Merging #44 into master will decrease coverage by 3.80%.
The diff coverage is 47.05%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #44      +/-   ##
============================================
- Coverage     86.31%   82.50%   -3.81%     
- Complexity      294      346      +52     
============================================
  Files            16       18       +2     
  Lines           665      789     +124     
============================================
+ Hits            574      651      +77     
- Misses           91      138      +47     
Impacted Files Coverage Δ Complexity Δ
src/InfluxDB2/ObjectSerializer.php 54.96% <ø> (+14.46%) 64.00 <0.00> (+3.00)
src/InfluxDB2/Configuration.php 28.94% <28.94%> (ø) 31.00 <31.00> (?)
src/InfluxDB2/HeaderSelector.php 69.56% <69.56%> (ø) 13.00 <13.00> (?)
src/InfluxDB2/Client.php 93.10% <86.66%> (-6.90%) 11.00 <5.00> (+5.00) ⬇️
src/InfluxDB2/ApiException.php 83.33% <100.00%> (+16.66%) 5.00 <1.00> (ø)
src/InfluxDB2/DefaultApi.php 81.63% <100.00%> (+2.04%) 14.00 <0.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 fe71941...fa03b93. Read the comment docs.

@rhajek rhajek requested a review from bednar October 2, 2020 08:51
@rhajek rhajek changed the title Feat/generate apis feat: generate APIs from swagger Oct 2, 2020
Copy link
Contributor

@bednar bednar left a comment

Choose a reason for hiding this comment

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

Please

  • add an example how to use management api (query buckets) to the Advanced Usage section in README.md
  • rebase sources and update CHANGELOG.md

@bednar bednar merged commit 2c8d18b into master Oct 5, 2020
@bednar bednar deleted the feat/generate-apis branch October 5, 2020 09:21
@bednar bednar added this to the 1.8.0 milestone Oct 5, 2020
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