Simple HTTP wrapper around AsyncAPI generator.
https://hub.docker.com/r/gdulus/asyncapi-generator-service
At this moment only html-template generation is supported.
POST /asyncapi?src=<URL>
Generates html-template files of AsyncAPI documentation.
Parameter src
is mandatory in format of valid URL under which documentation can be found
response:
{
"id":<String>, // md5 id
"version":<String>, // md5 version
"files":Array<String> // paths to generated files
}
GET /asyncapi/file?id=<String>&version=<String>&file=<String>
Returns specific file generated by POST /asyncapi?src=<URL>
call.
response:
{
"id":<String>,
"version":<String>,
"file":<String>,
"body":<String>
}