botapi

package module
v0.0.0-...-aa11ac5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 0 Imported by: 0

README

botapi

The telegram-bot-api, but in go. WIP.

Features

  • Parsing of API documentation with defaults, format, enum and constraints inference
  • OpenAPI v3 specification generation
  • Server and Client generation based on OpenAPI v3 specification

Roadmap

  • Parse definition
  • Generate OpenAPI v3 Specification
  • Generate client and server from OpenAPi v3 using ogen
  • Infer enums
  • Infer defaults
  • Use rich text for documentation
  • More links to documentation
  • Support Emoji

Documentation

Overview

Package botapi implements telegram-bot-api in go.

Directories

Path Synopsis
Package botdoc implement types definition extraction from documentation.
Package botdoc implement types definition extraction from documentation.
cmd
botapi
Binary botapi implements telegram-bot-api server using gotd.
Binary botapi implements telegram-bot-api server using gotd.
gotd-bot-oas
Binary gotd-bot-oas generates OpenAPI Specification for Telegram Bot API.
Binary gotd-bot-oas generates OpenAPI Specification for Telegram Bot API.
internal
botapi
Package botapi contains Telegram Bot API handlers implementation.
Package botapi contains Telegram Bot API handlers implementation.
botstorage
Package botstorage contains gotd storage implementations for Telegram bots.
Package botstorage contains gotd storage implementations for Telegram bots.
oas
Package oas contains generated openapi entities.
Package oas contains generated openapi entities.
pool
Package pool implements client pool.
Package pool implements client pool.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL