原文: https://j2hongming.github.io/2021/08/06/view-open-api-in-local/
open API类似原始资料, 可以使用ReDoc或是Swagger UI其中之一呈现
若有使用vs code的话可以直接安装扩充功能: OpenAPI (Swagger) Editor
若想要放在内部机器上可以使用docker
git clone [email protected]:j2hongming/open_api.git
docker-compose.yaml内容如下
version: '3'
services:
redoc:
image: redocly/redoc
ports:
- 8888:80
volumes:
- ./api.yaml:/usr/share/nginx/html/api.yaml
environment:
- SPEC_URL=/api.yaml
swagger:
image: swaggerapi/swagger-ui
ports:
- 8080:8080
volumes:
- ./api.yaml:/api.yaml
environment:
- SWAGGER_JSON=/api.yaml
前面 [day-5] 有基本介绍Hello World的用途 在我们正式开始写程序之前,先来认识一下...
Navigator 1.0 Flutter 有内建一个路由管理 API Navigator ,而Fl...
该文章同步发布於:我的部落格 WebMock 以及 VCR 是拿来实作关於网站请求的工具,在这篇文...
激活函数 Activation Function Scaled Exponential Linear...
Elasticsearch提供了许多的搜寻语法,让我们能透过这些语法的组合,可以查询出各式各样的结果...