Generate client code based on the Swagger > OpenApi document #13

Merged
jtom38 merged 4 commits from features/generate-client-api into main 2024-07-17 22:04:35 -07:00
Showing only changes of commit f4e4fbdee2 - Show all commits

View File

@ -121,7 +121,7 @@ func (r sourceRepository) GetBySourceAndName(ctx context.Context, source, name s
b.Select("*") b.Select("*")
b.From("Sources").Where( b.From("Sources").Where(
b.Equal("Source", source), b.Equal("Source", source),
b.Equal("Name", name), b.Equal("DisplayName", name),
) )
b.Limit(1) b.Limit(1)
query, args := b.Build() query, args := b.Build()