Search code examples
xsdgeneratorthrift

Convert Thrift to xsd generator producing php


I'm using the latest version of Thrift and trying to generate XSDs out of my Thrift schema.

When running thrift_0.10.0 --gen xsd mySchema.thrift it generates a php file !?

Why is there no xsd generated but instead a php file ?


Solution

  • As soon as you add at least one service to your IDL the XSD file will appear.