Skip to content

Commit

Permalink
Add AddEndpoint function to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anilsenay authored Dec 11, 2022
1 parent 02a9192 commit ad900d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ endpoints := []Endpoint{
AddEndpoints(endpoints)
```

**Note:** You can simply add only one endpoint by using `AddEndpoint(endpoint)`

- Arguments: (Method, Path, Tag, Params, Body, Response, Error Response, Description, Security)

**NOTE: If you not imported with explicit period (.), you need to get from swagno package:**
Expand Down

0 comments on commit ad900d6

Please sign in to comment.