6 Commits
Author SHA1 Message Date
Black_Raven 6ae350b48c fix(yamlreaders): Improve format auto-detection in get_reader()
Now properly detects Postman and OpenAPI formats by parsing YAML content
2026-08-24 16:46:29 +03:00
Black_Raven bf47218831 feat(yamlreaders): Added __init__.py with get_reader() helper
Exports all readers and provides get_reader() function
that auto-detects file format and returns appropriate reader
2026-08-24 16:03:42 +03:00
Black_Raven f28c1d6d7c feat(yamlreaders): Added OpenAPIReader for OpenAPI 3.0/3.1
Parses OpenAPI specifications:
- Extracts base_url from servers
- Parses paths and operations
- Generates request body from schema
- Auto-generates asserts from responses
2026-08-24 16:03:33 +03:00
Black_Raven d6b97e8b09 feat(yamlreaders): Added PostmanReader for Postman Collection v2.1
Parses Postman collections:
- Extracts variables and base_url
- Parses nested items and folders
- Converts request body and headers
- Extracts test scripts for variable extraction
2026-08-24 16:03:32 +03:00
Black_Raven 0f7dd83b33 feat(yamlreaders): Added YamlReader for custom YAML format
Parses custom YAML test specifications:
- Steps with requests
- Extract variables from responses
- Assert response status and fields
2026-08-24 16:03:14 +03:00
Black_Raven 37053a5d8e feat(yamlreaders): Added BaseReader abstract class
Base class for all parsers with:
- validate(): checks if source file is valid
- parse(): converts source to TestModel
- load_yaml(): loads YAML file
2026-08-24 16:03:13 +03:00