Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

优化多文档使用#12

Open
Lu-Lucifer wants to merge 4 commits intohertz-contrib:mainfrom
Lu-Lucifer:main
Open

优化多文档使用#12
Lu-Lucifer wants to merge 4 commits intohertz-contrib:mainfrom
Lu-Lucifer:main

Conversation

@Lu-Lucifer
Copy link
Copy Markdown

优化多文档使用

options中新增swagger.URLs,对多文档进行配置

swagger.URLs([]interface{}{
		map[string]interface{}{
			"name": "swagger",
			"url":  "/swagger/openapi.yaml",
		},
	})

配置后网页中有下拉框可以直接选择,不用手动输入,优化使用体验
image

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Sep 10, 2025

CLA assistant check
All committers have signed the CLA.

@GuangmingLuo
Copy link
Copy Markdown
Contributor

@bodhisatan 麻烦看一下

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants