Skip to content

Problem with Specmatic Stub for application/xml Content Type #1151

Discussion options

You must be logged in to vote

Hi @premsvmm, thanks a lot for reporting this issue. There was a bug in the way Specmatic was handling attributes when one XML object referred to another XML object. This has been fixed in Specmatic's latest release, 1.3.30.

Here are the logs from my test, using your sample specification.

Logs from the Specmatic stub server:

Using default Specmatic
Loading xml-spec.yaml
API Specification Summary: xml-spec.yaml
  OpenAPI Version: 3.0.0
  API Paths: 1, API Operations: 1
  Schema components: 3, Security Schemes: none

  Loading stub expectations from /Users/joelrosario/tmp/razorpay/xml-spec_data
  Reading the following stub files:
    /Users/joelrosario/tmp/razorpay/xml-spec_data/example-1.j…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by premsvmm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants