Categorygithub.com/gouniverse/apidoc
modulepackage
0.2.0
Repository: https://github.com/gouniverse/apidoc.git
Documentation: pkg.go.dev

# README

Api Doc Open in Gitpod

tests Go Report Card PkgGoDev

API Documentation Builder

License

This project is licensed under the GNU General Public License version 3 (GPL-3.0). You can find a copy of the license at https://www.gnu.org/licenses/gpl-3.0.en.html

For commercial use, please use my contact page to obtain a commercial license.

Introduction

The Api Doc project helps to build and serve documentation using Go.

No external dependencies are required (npm, yarn, etc).

Features

  • Seamless Integration: Generate documentation directly from your Go code for accuracy and efficiency.
  • Reduced Overhead: Minimize the need to maintain separate applications or specification files.
  • Customization and Flexibility: Tailor your documentation to your specific needs and preferences.
  • Performance and Efficiency: Enjoy faster build times and reduced overhead compared to OpenAPI.
  • Simplified Tooling and Reduced Dependencies: Leverage the Go ecosystem for efficient development.
  • Steep Learning Curve: Benefit from a shallower learning curve if you're already proficient in Go.
  • Declarative Approach: Define your API's structure and content using Go code, making it more intuitive and easier to maintain.
  • Extensible: Easily add custom extensions or features to your documentation.

Supported Themes

Light Themes

  • default

apidoc-theme-default

  • cerulean

apidoc-theme-cerulean

  • cosmo

apidoc-theme-cosmo

  • flatly

apidoc-theme-flatly

  • journal

apidoc-theme-journal

  • litera

apidoc-theme-litera

  • lux

apidoc-theme-lux

  • materia

apidoc-theme-materia

  • minty

apidoc-theme-minty

  • morph

apidoc-theme-morph

  • pulse

apidoc-theme-pulse

  • quartz

apidoc-theme-quartz

  • sandstone

apidoc-theme-sandstone

  • simplex

apidoc-theme-simplex

  • sketchy

apidoc-theme-sketchy

  • spacelab

apidoc-theme-spacelab

  • united

apidoc-theme-united

  • yeti

apidoc-theme-yeti

  • zephyr

apidoc-theme-zephyr

Dark Themes

  • cyborg

apidoc-theme-cyborg

  • darkly

apidoc-theme-darkly

  • slate

apidoc-theme-slate

  • solar

apidoc-theme-solar

  • superhero

apidoc-theme-superhero

  • vapor

apidoc-theme-vapor

Credits

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewwebController creates a new web controller.

# Constants

No description provided by the author
No description provided by the author
Block Types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Content types.
No description provided by the author
No description provided by the author
PARAMETER_LOCATION_BODY represents a parameter located in the HTTP request body as a JSON payload or other structured data (e.g.
PARAMETER_LOCATION_COOKIE represents a parameter located in the HTTP request cookie (e.g.
PARAMETER_LOCATION_FORM represents a parameter located in the HTTP request body as form data (e.g.
PARAMETER_LOCATION_HEADER represents a parameter located in the HTTP request header (e.g.
PARAMETER_LOCATION_PATH represents a parameter located in the URL path (e.g.
PARAMETER_LOCATION_QUERY represents a parameter located in the URL query string (e.g.
No description provided by the author
No description provided by the author
Dark themes.
No description provided by the author
Light themes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Endpoint represents an endpoint block it is used to describe an API endpoint to the documentation.
Example represents an example block with a source code example it is used to add an example section to an endpoint.
Group represents a block with a title and content it is used to group blocks of similar functionality.
No description provided by the author
Response represents a block with a title and content it is used to add a response section to an endpoint.
Section represents a section block with a title and content it is used to add an information section to the documentation.

# Interfaces

No description provided by the author