SDK to Wrekenfile converters
Native SDK-to-Wrekenfile converters are available as part of the sdk-wrekenfile-converter project. These tools extract semantic intent from SDK source code and generate Wrekenfiles directly.
Supported languages
Currently supported languages:
C#, Go, PHP, Python, TypeScript, Swift, Kotlin, Java, and Rust.
Usage note
Each converter is available as a native library for its language. Dockerfiles are also provided if you prefer not to install dependencies locally.
Usage instructions are language-specific and documented in the corresponding GitLab repositories.
Resources
Language-specific converters
| Language | GitLab Repository | Dockerfile | README |
|---|---|---|---|
| Go | Repository | Dockerfile | README |
| Python | Repository | Dockerfile | README |
| TypeScript | Repository | Dockerfile | README |
| Java | Repository | Dockerfile | README |
| Kotlin | Repository | Dockerfile | README |
| Swift | Repository | Dockerfile | README |
| Rust | Repository | Dockerfile | README |
| PHP | Repository | Dockerfile | README |
| C# | Repository | Dockerfile | README |
Wrekenfile CLI tools
The wrekenfile-converter project provides a CLI and a JavaScript library for working directly with Wrekenfiles. It can be installed globally via npm or imported into an existing JavaScript project.
Supported operations
- Convert OpenAPI and Postman specs to Wrekenfile
- Convert Wrekenfile to Mini-Wrekenfile
- Validate Wrekenfile syntax and completeness
Resources
| Resource | Link | Description |
|---|---|---|
| GitLab Repository | Repository | Source code and issue tracking |
| npm Package | npm package | Install via npm for CLI or library use |
| CLI Documentation | README | Commands, usage examples, and API reference |
Current and planned support
| Source Format | Languages | Status |
|---|---|---|
| SDK (AST-based) | C#, Go, Java, Kotlin, PHP, Python, Rust, Swift, TypeScript | Available |
| OpenAPI | REST specifications (JSON/YAML) | Available |
| Postman | Collection format (JSON) | Available |