danielgtaylor / openapi-cli-generator

Generate a CLI from an OpenAPI 3 specification
MIT License
179 stars 49 forks source link

Support XML in addition to JSON and YAML #24

Closed sverch closed 4 years ago

sverch commented 4 years ago

When I try to run it before this change against an API that returns XML, I get:

"Unmarshalling response failed: Not sure how to unmarshal text/xml"

sverch commented 4 years ago

Sorry I meant to create this against my own fork. I'm trying to figure out how to do this, but it looks like it might not be possible, at least not generically. See https://groups.google.com/forum/#!topic/golang-nuts/zEmDOp_yFpU/discussion.