Skip to content

psychic-spoon/TestOpenAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

OpenApi CodeGen

Initial Setup

go mod init github.com/psychic-spoon/TestOpenAPI

go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@latest

Make sure the following works

oapi-codegen -version

Client

oapi-codegen --package=main --generate types,client swagger.yaml > openapi.gen.go  

Server

oapi-codegen --package=main  --generate types,server swagger.yaml > generatedserver.go 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published