SkillAgentSearch skills...

Swagger Gin

[DEPRECATED] Generate REST API boilerplate code for gin web framework

Install / Use

npx skills add aiyi/swagger-gin

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

[DEPRECATED]

Generate REST API boilerplate code from Swagger 2.0 API spec for gin web framework. Thanks to the go-swagger project, it's awesome and has been heavily used as code base of swagger-gin.

Usage

Install the package

go get github.com/aiyi/swagger-gin

<b> To generate source files (models, restapi and example operations) </b>

Use default spec file "./swagger.json" and default target directory "./":

swagger-gin

Use specific api spec:

swagger-gin -spec=petstore.json

Use specific target folder:

swagger-gin -spec=petstore.json -target=petstore

Related Skills

View on GitHub
GitHub Stars39
CategoryDevelopment
Updated3y ago
Forks2

Languages

Go

Security Score

75/100

Audited on Feb 23, 2023

No findings