Skip to content

TykTechnologies/tyk-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tyk-apis

Installation

go get github.com/TykTechnologies/tyk-apis

Usage

tyk-apis tyk:targets="APIDefinitionSpec"   paths="./test" output:dir=schemas

Where,

  • APIDefinitionSpec is the case insensitive name of struct you want to generate schema for.

  • ./test is the absolute path to the go package that has the struct defined.

  • output:dir=schemas says we will write generated open api documents inside schemas directory

About

generate open api schema from go structs using kubebuilder validation annotation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages