Skip to content

Commit

Permalink
chore(readme): make swaggertype examples more readable (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
easonlin404 authored and pei0804 committed Apr 5, 2019
1 parent 7c1ce37 commit 169765a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Swag converts Go annotations to Swagger Documentation 2.0. We've created a varie
- [Use multiple path params](#use-multiple-path-params)
- [Example value of struct](#example-value-of-struct)
- [Description of struct](#description-of-struct)
- [Override swagger type of a struct field](#Override-swagger-type-of-a-struct-field)
- [Use swaggertype tag to supported custom type](#use-swaggertype-tag-to-supported-custom-type)
- [Add extension info to struct field](#add-extension-info-to-struct-field)
- [How to using security annotations](#how-to-using-security-annotations)
- [About the Project](#about-the-project)
Expand Down Expand Up @@ -508,7 +508,8 @@ type Account struct {
}
```

### Override swagger type of a struct field
### Use swaggertype tag to supported custom type
[#201](https://github.com/swaggo/swag/issues/201#issuecomment-475479409)

```go
type TimestampTime struct {
Expand Down

0 comments on commit 169765a

Please sign in to comment.