Skip to content

influxdata/influxdb-clients-apigen

Repository files navigation

Swagger code generator for InfluxDB 2.x client libraries

CircleCI License GitHub issues GitHub pull requests

This repository contains tools to re-generate API from InfluxDB swagger.yml.

Supported are following client libraries:

  • Java,
  • C#,
  • Python,
  • Php

Goals:

  • simplify swagger updates
  • centralize OpenApi generator for all languages on one place

Next steps todo:

Prequisities:

  • Mac/Linux, git, docker, GNU make

Makefile contains all needed

How to generate sources from updated swagger

  1. Make required changes in ./swagger.yml
  2. Build openapi generator make openapi-generator
  3. make generate-java, make generate-csharp, make generate-python, make generate-php will generates sources for specific client library.
  4. make generate-all - generate new API stubs from ./swagger.yml for all client libraries
  5. optionaly make check-all will try to compile and run tests for all client libraries
  6. make pr-java, make pr-csharp, make pr-python, make pr-php will create PR into specific client library

About

Swagger generator for client libraries InfluxDB 2.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •