buffalo-swagger

command module
v0.0.0-...-e3c0e0a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

README

Swagger-file Generator for Buffalo (WIP)

This is a plugin for the buffalo generator. It could be used to generate a swagger file form an existings buffalo api project.

Installation

$ go get -u github.com/fsuhrau/buffalo-swagger

Usage

$ buffalo generate swagger /path/to/project api.json

todos

  • project path should be optional normally it should be relative to the current working dir
  • paths for api endpoints should be extracted out of the app.go
  • generate valid yaml file
  • update to OpenAPI 3.0

known issues:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL