8000 GitHub - BlackMocca/hopp-api-doc: Auto Generate API Document Service
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

BlackMocca/hopp-api-doc

 
 

Repository files navigation

HOPP-API-DOC

🔥 This service is a cronjob to process generate API Documentation Data From Hoppscotch with Tool Docsify Every 30 second

Feature

  • [✅] Support Example Response on version Hoppscotch version >= 2024.9.0

  • [✅] Auto Generate API Document Every 30 second

  • [✅] Authenticate With Microsoft

  • [✅] Filter Team Collection By User

  • [✅] Download API Document With Zip (can be serve with Docsify CLI in your local)

  • [✅] Example Body Response (format EXAMPLE_$status_$name)

  • [✅] Support Request Body Content-Type (applicatioon/json, multipart/form-data, application/x-www-form-urlencoded, application/xml, text/xml)

  • [✅] Request & Collection Support Header And Auth Type Basic Auth, API KEY, Bearer Token

  • [✅] Import Hoppscotch Collection to generate Document

  • Authenticate With Google

  • Authenticate With Github

  • Request & Collection Support Auth Type Oauth 2.0

Installing

Pull Images

docker pull blackmocca/hopp-api-doc:v1.3.2-linux-amd64

Run Images

docker run --name hopp-api-doc -v ${pwd}/docs:/usr/app/docs -p 3200:3000 --env-file=.env -d --restart unless-stopped blackmocca/hopp-api-doc:v1.3.1-linux-amd64

Demo

  • Demo Collection Property to Show Auth Type Folder Properties

  • (Deprecated on version 1.3.0) Demo Input Example Response(format EXAMPLE_$status_$name) Input Example Response Demo Example Response

  • Demo Multipart FormData Demo Multipart

Environment

Name Description
DATABASE_URL connection string Postgresql self host hoppscotch backend
TIMER_SYNC_TEAM_COLLECTION define sync team collection in unit second
MICROSOFT_CLIENT_ID Microsoft Oauth2 Client Id
MICROSOFT_CLIENT_SECRET Microsoft Oauth2 Client Secret
MICROSOFT_CALLBACK_URL Microsoft Oauth2 Valid Redirect https://$yourdomain/v1/auth/microsoft/callback
MICROSOFT_SCOPE Microsoft Oauth2 Scope user.read Required Property email
MICROSOFT_TENANT Microsoft Oauth2 Tanent

About

Auto Generate API Document Service

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 80.8%
  • HTML 12.3%
  • JavaScript 5.0%
  • Makefile 1.6%
  • CSS 0.3%
0