├── .dockerignore ├── .github └── workflows │ ├── build.yml │ ├── notify.yml │ └── pages.yml ├── .gitignore ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── README.md ├── bin └── tgscraper ├── composer.json ├── composer.lock ├── docs └── schema.json ├── psalm.xml ├── src ├── Commands │ ├── Common.php │ ├── CreateStubsCommand.php │ ├── DumpSchemasCommand.php │ └── ExportSchemaCommand.php ├── Common │ ├── Encoder.php │ ├── OpenApiGenerator.php │ ├── SchemaExtractor.php │ └── StubCreator.php ├── Constants │ └── Versions.php ├── Parsers │ ├── Field.php │ ├── FieldDescription.php │ └── ObjectDescription.php └── TgScraper.php └── templates ├── openapi.json ├── postman.json └── responses.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/notify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/.github/workflows/notify.yml -------------------------------------------------------------------------------- /.github/workflows/pages.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/.github/workflows/pages.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | vendor/ 3 | .phpunit.result.cache 4 | composer.phar -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/README.md -------------------------------------------------------------------------------- /bin/tgscraper: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/bin/tgscraper -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/composer.lock -------------------------------------------------------------------------------- /docs/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/docs/schema.json -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/psalm.xml -------------------------------------------------------------------------------- /src/Commands/Common.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Commands/Common.php -------------------------------------------------------------------------------- /src/Commands/CreateStubsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Commands/CreateStubsCommand.php -------------------------------------------------------------------------------- /src/Commands/DumpSchemasCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Commands/DumpSchemasCommand.php -------------------------------------------------------------------------------- /src/Commands/ExportSchemaCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Commands/ExportSchemaCommand.php -------------------------------------------------------------------------------- /src/Common/Encoder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Common/Encoder.php -------------------------------------------------------------------------------- /src/Common/OpenApiGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Common/OpenApiGenerator.php -------------------------------------------------------------------------------- /src/Common/SchemaExtractor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Common/SchemaExtractor.php -------------------------------------------------------------------------------- /src/Common/StubCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Common/StubCreator.php -------------------------------------------------------------------------------- /src/Constants/Versions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Constants/Versions.php -------------------------------------------------------------------------------- /src/Parsers/Field.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Parsers/Field.php -------------------------------------------------------------------------------- /src/Parsers/FieldDescription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Parsers/FieldDescription.php -------------------------------------------------------------------------------- /src/Parsers/ObjectDescription.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/Parsers/ObjectDescription.php -------------------------------------------------------------------------------- /src/TgScraper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/src/TgScraper.php -------------------------------------------------------------------------------- /templates/openapi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/templates/openapi.json -------------------------------------------------------------------------------- /templates/postman.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/templates/postman.json -------------------------------------------------------------------------------- /templates/responses.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sysbot-org/tgscraper/HEAD/templates/responses.json --------------------------------------------------------------------------------