apiaryio / api-blueprint

API Blueprint
https://apiblueprint.org
MIT License
8.63k stars 2.14k forks source link

Can we use apiary to define SOAP API? #427

Closed sajantha closed 5 years ago

sajantha commented 6 years ago

can we define a soap API having message structure in below format IN Apiary <SOAP-ENV:Envelope xmlns:SOAP-ENV = "http://schemas.xmlsoap.org/soap/envelope/"

... ... ... ... ... ... ...
kylef commented 5 years ago

Hi @sajantha,

API Blueprint doesn't limit what you can place inside a message body. You can place XML if you wish, for example:

FORMAT: 1A

# My SOAP API

## GET /soap/envelope

+ Response 200 (application/xml)

        <SOAP-ENV:Envelope xmlns:SOAP-ENV = "http://schemas.xmlsoap.org/soap/envelope"
        ... 
        </SOAP_ENV:Envelope>