api_request_generator 0.1.0 copy "api_request_generator: ^0.1.0" to clipboard
api_request_generator: ^0.1.0 copied to clipboard

discontinuedreplaced by: api_to_dart

Generate type-safe API request actions and response models from Postman, OpenAPI, Apidog, or YAML with an interactive terminal UI.

0.1.0 #

  • Initial release
  • Multi-source support: Postman collections, OpenAPI 3.x specs, Apidog projects, local YAML files
  • Apidog integration: fetch projects, environments, and variables via API
  • Interactive terminal endpoint selector with tree navigation
  • Smart response resolution: live fetch → example → schema → action-only
  • Request logging with detailed .log files per endpoint
  • Dart model generation with fromJson/toJson from actual API responses
  • Auto-resolve environment variables from Apidog
  • Settings persistence per-project in .apigen/config.yaml
  • Support for all HTTP methods: GET, POST, PUT, PATCH, DELETE
  • PascalCase naming with smart path-based name generation
  • Handles duplicate class names and null types in generated models
0
likes
130
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Generate type-safe API request actions and response models from Postman, OpenAPI, Apidog, or YAML with an interactive terminal UI.

License

MIT (license)

Dependencies

args, dart_style, http, json_ast, path, yaml

More

Packages that depend on api_request_generator