Skip to content

Commit

Permalink
exclude service without endpoints #22 & bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Clivern committed Jul 23, 2020
1 parent 971aef5 commit 78e7b34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<p align="center">A fast and beautiful command line tool to build API requests</p>
<p align="center">
<a href="https://travis-ci.com/Clivern/Poodle"><img src="https://travis-ci.com/Clivern/Poodle.svg?branch=master"></a>
<a href="https://github.com/Clivern/Poodle/releases"><img src="https://img.shields.io/badge/Version-0.3.1-red.svg"></a>
<a href="https://goreportcard.com/report/github.com/Clivern/Poodle"><img src="https://goreportcard.com/badge/github.com/Clivern/Poodle?v=0.3.1"></a>
<a href="https://github.com/Clivern/Poodle/releases"><img src="https://img.shields.io/badge/Version-0.3.2-red.svg"></a>
<a href="https://goreportcard.com/report/github.com/Clivern/Poodle"><img src="https://goreportcard.com/badge/github.com/Clivern/Poodle?v=0.3.2"></a>
<a href="https://github.com/Clivern/Poodle/blob/master/LICENSE"><img src="https://img.shields.io/badge/LICENSE-MIT-orange.svg"></a>
</p>
</p>
Expand Down
13 changes: 1 addition & 12 deletions core/model/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,18 +192,7 @@ func NewEmptyService(id string) *Service {
},
},
},
Endpoint: []Endpoint{
Endpoint{
ID: "",
Name: "",
Description: "",
Method: "",
Headers: [][]string{},
Parameters: [][]string{},
URI: "",
Body: ``,
},
},
Endpoint: []Endpoint{},
}
}

Expand Down

0 comments on commit 78e7b34

Please sign in to comment.