Exporting Specifications
For a REST API, you can export specifications in Swagger and RAML
formats to your local system. Similarly, for a SOAP API, you can export a
specification in WSDL format to your local system. The exported WSDL is in a
ZIP format consisting of the WSDL file whereas for Swagger and RAML the
respective files are directly exported.
webMethods API Gateway
supports the following versions:
- Swagger 2.0 for a Swagger file
- RAML 0.8 for a RAML file
Note: In the downloaded Swagger document, the valid JSON
schemas attached to a response or a request does not always appear. Only the
valid JSON schemas appear correctly. For any other schema information just the
generic JSON schema such as
{"type":"object"}
appears.
To export the specification