package
module
Version:
v0.0.0-...-afee560
Opens a new window with list of versions in this module.
Published: May 6, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
API Blueprint example
This directory contains a Go source file (example.go)
which has API Blueprint definitions for a
RESTish HTTP API in its comments.
Using doc-extract, we can extract these comments into an API Blueprint
file (example.apib):
doc-extract . example.apib
And then we'll used a Node.js-based tool called
Aglio running in Docker to
render that to a nice HTML file.
docker run --rm -t -v $(pwd):/docs humangeo/aglio -i /docs/example.apib -o /docs/example.html
Viola!
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.