kt-telegram-bot icon indicating copy to clipboard operation
kt-telegram-bot copied to clipboard

Create codegen tooling

Open elbekD opened this issue 2 years ago • 1 comments

Now in order to support changes in API it is necessary to do eye-parsing of changes and then write additional code. It is manual, time consuming and error prone activity. Consider next solutions:

  1. Maybe there is some structured file(s) with definitions of the API(like yaml or json files). If there are then make code generation tool
  2. Make code generation tool which will parse html file of the API page

elbekD avatar Apr 23 '22 08:04 elbekD

Here yaml and json TelegramBot API can be found: https://github.com/sys-001/telegram-bot-api-versions/tree/main/files/openapi/yaml

SonicNorg avatar Nov 21 '23 17:11 SonicNorg