Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/nishipy/building-microservices-youtube/product-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nishipy/building-microservices-youtube/product-api

  • v0.0.0-20220319063340-99ad22c0bdcc
  • Source
  • Go
  • Socket score

Version published
Created
Source

Product API

Generating Swagger Documentation

Swagger documentation is generated from the code annotations inside the source using go-swagger.

Go swagger can be installed with the following command:

go get -u github.com/go-swagger/go-swagger/cmd/swagger

You can generate the documentation using the command:

swagger generate spec -o ./swagger.yaml --scan-models

After running the application:

go run main.go

Swagger documentation can be viewed using the ReDoc UI in your browser at http://localhost:9090/docs.

FAQs

Package last updated on 19 Mar 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc