Skip to content

feat: add spec validation #2

Merged
sebastien-b-lab-io merged 10 commits into
mainfrom
feat/robot
Mar 24, 2026
Merged

feat: add spec validation #2
sebastien-b-lab-io merged 10 commits into
mainfrom
feat/robot

Conversation

@sebastien-b-lab-io

Copy link
Copy Markdown
Contributor

feature:

  • support arazzo version 1.1.0
  • add spec validation support

fix:

  • code quality linting

Sebastien Andreo and others added 10 commits February 28, 2026 18:38
- Updated ApiOperation to store full Parameter objects for constraint validation
- Enhanced parameter validation to check:
  - Required parameters are provided (header, query, path)
  - Parameter locations match OpenAPI definitions
  - Extra parameters not in operation definitions
  - Parameter type validation against OpenAPI schema

- Fixed URL resolution for relative paths in source descriptions
- Improved error messages with readable parameter locations
- Added comprehensive unit tests for validator (7 new tests)
- All tests passing (69 passed, 1 skipped)
- Added support for validating ReusableObject instances in step parameters
- Detects and validates reusable parameter references (#/components/parameters/*)
- Validates that referenced parameters exist in components
- Properly extracts parameter names from JSON references
- Includes reusable parameters in required parameter validation
- Added 3 new unit tests for reusable object validation
- All 72 tests passing
- Support both JSON Pointer (#/components/...) and runtime expression ($components...) parameter references
- Add ReusableObject parameter validation with component existence checks
- Fix widespread linting issues: whitespace, imports, type annotations
- Update type hints for union types and generator functions
- Improve exception handling with specific exception types
- All 72 tests passing, code quality checks passing
- Support both JSON Pointer (#/components/...) and runtime expression ($components...) parameter references
- Add ReusableObject parameter validation with component existence checks
- Fix widespread linting issues: whitespace, imports, type annotations
- Update type hints for union types and generator functions
- Improve exception handling with specific exception types
- All 72 tests passing, code quality checks passing
@sebastien-b-lab-io
sebastien-b-lab-io merged commit 594d69e into main Mar 24, 2026
21 checks passed
@sebastien-b-lab-io
sebastien-b-lab-io deleted the feat/robot branch March 24, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant