kt-telegram-bot
kt-telegram-bot copied to clipboard
Create codegen tooling
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:
- Maybe there is some structured file(s) with definitions of the API(like
yaml
orjson
files). If there are then make code generation tool - Make code generation tool which will parse
html
file of the API page
Here yaml
and json
TelegramBot API can be found:
https://github.com/sys-001/telegram-bot-api-versions/tree/main/files/openapi/yaml