From e72c9a81ab2e488fc707b94ed8b4434f774b1d4b Mon Sep 17 00:00:00 2001 From: moresuccessful <443700139@qq.com> Date: Mon, 6 Jul 2020 23:27:56 +0800 Subject: [PATCH] fix README_zh-CN typo --- README_zh-CN.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README_zh-CN.md b/README_zh-CN.md index d14f49851..5dac7a4a7 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -106,7 +106,7 @@ import "github.com/swaggo/files" // swagger embed files 2. 在`main.go`源代码中添加通用的API注释: -```bash +```go // @title Swagger Example API // @version 1.0 // @description This is a sample server celler server. @@ -375,7 +375,7 @@ Example [celler/controller](https://github.com/swaggo/swag/tree/master/example/c ## Mime类型 -`swag` g接受所有格式正确的MIME类型, 即使匹配 `*/*`。除此之外,`swag`还接受某些MIME类型的别名,如下所示: +`swag` 接受所有格式正确的MIME类型, 即使匹配 `*/*`。除此之外,`swag`还接受某些MIME类型的别名,如下所示: | Alias | MIME Type | | --------------------- | --------------------------------- |