Skip to content

feat: add WSDL support to scaffold command#91

Merged
outofcoffee merged 3 commits intomainfrom
claude/add-wsdl-scaffold-support-YVz9v
Apr 1, 2026
Merged

feat: add WSDL support to scaffold command#91
outofcoffee merged 3 commits intomainfrom
claude/add-wsdl-scaffold-support-YVz9v

Conversation

@outofcoffee
Copy link
Copy Markdown
Contributor

@outofcoffee outofcoffee commented Mar 31, 2026

Summary

  • Add WSDL file discovery and SOAP plugin config generation to the scaffold command (closes feat: add WSDL support to scaffold command #90)
  • New internal/wsdl/discovery.go discovers .wsdl files in the target directory
  • New internal/impostermodel/wsdl.go parses WSDL files using go-wsdl-parser and generates soap plugin resources
  • Updated model with WSDLFile and Operation fields for SOAP config output
  • Updated Create() flow to handle WSDL files alongside OpenAPI specs
  • Added 3 new scaffold test cases for WSDL scenarios

Note: The go.mod uses a replace directive for local development. This needs to be updated to point to the published go-wsdl-parser module version before merging.

Test plan

  • All 9 scaffold tests pass including 3 new WSDL test cases
  • Place a .wsdl file in a directory and run imposter scaffold to verify config generation
  • Verify generated YAML contains plugin: soap, wsdlFile, and operation resources

@outofcoffee outofcoffee added the enhancement New feature or request label Mar 31, 2026
@outofcoffee outofcoffee self-assigned this Mar 31, 2026
claude and others added 3 commits April 1, 2026 20:58
Extend the scaffold command to discover WSDL files and generate soap
plugin configurations. Uses go-wsdl-parser to parse WSDL operations and
create appropriate mock resources.

Closes #90

https://claude.ai/code/session_01Xsiik4SZGtBrKQi7LxKtXZ
Replace local replace directive with published tagged version v0.1.0.

https://claude.ai/code/session_01Xsiik4SZGtBrKQi7LxKtXZ
@outofcoffee outofcoffee force-pushed the claude/add-wsdl-scaffold-support-YVz9v branch from fcdbc8b to 649dca0 Compare April 1, 2026 19:58
@outofcoffee outofcoffee merged commit 2a6485b into main Apr 1, 2026
2 checks passed
@outofcoffee outofcoffee deleted the claude/add-wsdl-scaffold-support-YVz9v branch April 1, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add WSDL support to scaffold command

2 participants