Skip to content

gdulus/asyncapi-generator-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

asyncapi-generator-service

Simple HTTP wrapper around AsyncAPI generator.

Installation

https://hub.docker.com/r/gdulus/asyncapi-generator-service

API


Create documentation

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 file

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>
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published