Skip to content

Utilities for sorting go-restful api's for output in Swagger

License

Notifications You must be signed in to change notification settings

myENA/restful-api-sorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restful-api-sorter

Utilities for sorting go-restful api's for output in Swagger

Targeted Versions

restful-api-sorter compatibility
v1.2 go-restful v1.2
swagger12 go-restful-swagger12 1.*

Description

If you utilize go-restful or go-restful-swagger12's ability to generate Swagger docs, you've undoutedly noticed that the order is not pre-defined and must be sorted client-side. This can be problematic if you have a particularly large API list.

To that end, this package endeavors to sort the api's in go, which is just better.

Available Sort Methods

Usage

Each of the functions present in this package are implementations of PostBuildDeclarationMapFunc, and is used by setting the PostBuildHandler property on the Config struct.

About

Utilities for sorting go-restful api's for output in Swagger

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages