GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wyycode/swagger-ui: 汉化了swagger-ui,修改了部分样式

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
css
css
 
 
fonts
fonts
 
 
images
images
 
 
lang
lang
 
 
lib
lib
 
 
.gitattributes
.gitattributes
 
 
README.md
README.md
 
 
demo.json
demo.json
 
 
index.html
index.html
 
 
o2c.html
o2c.html
 
 
swagger-ui.js
swagger-ui.js
 
 
swagger-ui.min.js
swagger-ui.min.js
 
 

Repository files navigation

汉化swagger-ui

汉化了swagger-ui,修改了部分样式 演示地址:http://helei112g.github.io/swagger-ui/#/

修改文件

  • swagger-ui.js,修改了部分js,在首页上,增加了显示api发布时间的tag
  • lang/zh-CN.js,在lang文件中,增加了中文语言包,其中由于部分使用英文表达更准确,未更改
  • index.html,修改了初始化swagger,为期增加了一个初始化加载完成后的回调
  • screen.css,为了显示接口创建时间,修改了部分样式

使用方法

  1. 直接clone该项目到本地,运行index.html文件,课获得我的demo样式
  2. 根据自身实际情况修改demo.json文件,已完成自身api接口文档的书写
  3. 如果json文件是在线的,请求改index.html文件中url = "http://192.168.1.8/api/demo.json";,将online url地址写在这里。

与我交流

第一个自己的github项目,如果对有何指教,欢迎联系:

e-mail:[email protected]

blog: http://blog.csdn.net/hel12he

About

汉化了swagger-ui,修改了部分样式

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.