Open inigo-montoya opened 8 years ago
Hey @inigo-montoyahh , would you mind to elaborate a bit more. Maybe even with a pseudo-syntax proposal?
@zdne I think one change could relieve a lot of documentation frustration and that is a custom URL endpoint. Right now we can't change from the specified HOST
at the beginning of a blueprint spec. Maybe something like the following signifying ASYNC and allowing a protocol, host, etc to be specified for the sole method?
### Do some webhook thing [ASYNC POST http://www.yourdomain.com/serser]
+ Request (application/json)
+ Attributes
+ `bananas` : `bananas` (string, required)
This could be expanded upon even further to allow more than http://
/ https://
to be valid such as ws://
, wss://
, etc.
@btskyy That sounds like a good idea.
Note: See #289 for different protocol's support.
Would like to see an ability to document webhooks and the callback notification events details