Skip to content

influxdata/influxdb-clients-apigen

Folders and files

NameName
Last commit message
Last commit date
Oct 27, 2022
Oct 18, 2021
Mar 24, 2023
Mar 29, 2022
Feb 1, 2022
Jul 1, 2020
Jun 25, 2020
Nov 21, 2022
Mar 29, 2022
Jul 1, 2020
Mar 29, 2022
Jan 12, 2022
Oct 25, 2021
Nov 21, 2022
Jun 10, 2021
Nov 9, 2022
Nov 23, 2022
Mar 16, 2021

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