Skip to content

Commit

Permalink
fix: Update common to 0.1.1. Add file url to ApiSpecDoc model.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldmi3i committed Sep 5, 2022
1 parent 5acef29 commit 00398d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/golang/mock v1.6.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/rabbitmq/amqp091-go v1.4.0
github.com/rog-golang-buddies/api_hub_common v0.1.0
github.com/rog-golang-buddies/api_hub_common v0.1.1
github.com/stretchr/testify v1.8.0
github.com/wagslane/go-rabbitmq v0.10.0
go.uber.org/zap v1.23.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rabbitmq/amqp091-go v1.4.0 h1:T2G+J9W9OY4p64Di23J6yH7tOkMocgnESvYeBjuG9cY=
github.com/rabbitmq/amqp091-go v1.4.0/go.mod h1:JsV0ofX5f1nwOGafb8L5rBItt9GyhfQfcJj+oyz0dGg=
github.com/rog-golang-buddies/api_hub_common v0.1.0 h1:th96e/uCNgjJcG9RNa/tnXFm+9JyJ1u/WZCku3GRt/U=
github.com/rog-golang-buddies/api_hub_common v0.1.0/go.mod h1:lK3L/e21s8rYwOZYrSrnP3yaAST3fgKlh00WW6igI0s=
github.com/rog-golang-buddies/api_hub_common v0.1.1 h1:z9DLRTj2+E+rHJHGBGCOs/1svNvMPMYw3Fq/qlB94Ew=
github.com/rog-golang-buddies/api_hub_common v0.1.1/go.mod h1:lK3L/e21s8rYwOZYrSrnP3yaAST3fgKlh00WW6igI0s=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
Expand Down
1 change: 1 addition & 0 deletions internal/parse/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func (c *ConverterImpl) Convert(ctx context.Context, file *fileresource.FileReso
if err != nil {
return nil, err
}
apiSpec.Url = file.Link
c.log.Infof("file %s successfully parsed", file.Link)

return apiSpec, nil
Expand Down

0 comments on commit 00398d1

Please sign in to comment.