You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add comprehensive tests for ApiSpec and related classes
- Introduced unit tests for enums: AuthType, OAuthFlow, HTTPMethod, AggregationType, RuleAction, BackoffType, and ResponseFormat.
- Implemented tests for Request, Pagination, Records, Processor, Rule, Iterate, Response, Call, Endpoint, and DynamicEndpoint classes.
- Added tests for ApiSpec to validate programmatic building, serialization, and parsing of YAML files.
- Included validation tests to ensure correct structure and constraints of ApiSpec.
- Enhanced error handling for parsing functions.
Copy file name to clipboardExpand all lines: README.md
+138Lines changed: 138 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -468,6 +468,144 @@ pipeline.run()
468
468
```
469
469
470
470
471
+
### Building API Specs with `ApiSpec`
472
+
473
+
Build [API Spec](https://docs.slingdata.io/concepts/api-specs) YAML files programmatically with type checking and validation. API specs define how Sling extracts data from REST APIs.
0 commit comments