github.com/ldej/go-openapi-example/oapi-codegen

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ldej/go-openapi-example/oapi-codegen

v0.0.0-20230623054553-581e4ccaab32
Version published
Created

oapi-codegen

https://github.com/deepmap/oapi-codegen

Getting started

Install oapi-codegen

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

Generate

oapi-codegen -config server.cfg.yaml ../openapi3.yaml

Run server

go run server.go

Visit Swagger

open http://localhost:8000/swagger/

FAQs

Package last updated on 23 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts