The Braves improved to 11-3 since manager Brian Snitker put Swanson in the No. 2 slot ahead of Freeman on May 10.
"I think we help each other a lot," Swanson said. "I would like to think that I help him, especially if I'm on base, that he would be able to get pitched differently. But having him hit behind me is fun."
Swanson drove Miles Mikolas' first pitch of the sixth inning over the wall in left, giving Atlanta a 2-1 lead. Freeman then hit his 13th homer, giving Atlanta its third set of back-to-back homers this season.
"Completely different than last year," Freeman said about Swanson, the No. 1 overall pick in the 2015 amateur draft. "He's staying on pitches a lot longer, seeing balls a lot longer, and putting the barrel on the ball. He's been huge for us."
Swanson and Freeman also hit consecutive homers in the second inning Wednesday night in San Francisco.
Foltynewicz (1-3) allowed an unearned run in six innings in his first win since Sept. 28. The right-hander struck out seven and walked none.
"I think that's the biggest thing right now is confidence, just throwing the ball with conviction," Foltynewicz said. "We kept them off balance just enough the whole night."
Swanson helped put it away with a two-run drive off Giovanny Gallegos in the eighth for his 10th homer. It was his second career multihomer game.
"It's really fun to watch," Snitker said. "He's a confident kid. He's been in the league another year. I sound like a broken record, but it's the truth. He's playing with a lot of confidence and knows he belongs here."
Mikolas (4-5) matched his career high with nine strikeouts in seven innings. He was charged with three runs and seven hits while exceeding his number of losses from all of last season.
"I had a couple games early in the season last year where I gave up four or five runs and we scored eight or nine and a couple tough ones like this," Mikolas said. "That is baseball. Things tend to even out, and I think that's why myself and a lot of the guys around the clubhouse aren't too worried."
Kolten Wong reached second on rookie Austin Riley's error. Harrison Bader then tripled to center off Acuna's glove, but he was tagged out after being caught in a rundown between third and home when Foltynewicz cut off the throw to the plate.
"That was a huge confidence point right there, just to get him out," Foltynewicz said. "I could have had a guy on third, no outs, and it could have been a big battle. But we got that guy out there and now we just, with no one on, now we go."
The Cardinals announced struggling right-hander Michael Wacha is going to work out of the bullpen. Wacha is 2-2 with a 6.39 ERA in his last five starts.
Wacha last pitched in relief on Sept. 26, 2016, versus Cincinnati.
Braves: OF Matt Joyce was placed on the bereavement list following the death of his uncle. Snitker says Joyce will miss all three games against St. Louis and return for Tuesday's home game against Washington. RHP Kyle Wright was recalled from Triple-A Gwinnett.
Cardinals: RHP Ryan Helsley was optioned to Triple-A Memphis. OF Lane Thomas remains with the club after being recalled to serve as the team's 26th man for Game 2 of Wednesday's split-doubleheader versus Kansas City.
Braves RHP Mike Soroka (5-1, 1.01 ERA) faces Cardinals RHP Dakota Hudson (3-3, 4.30 ERA) on Saturday night. Soroka allowed three hits in seven scoreless innings in his only previous outing versus St. Louis on May 15.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Rockies, Giants try to shake off tough losses
Two teams that got roughed up by the Los Angeles Dodgers last week get an opportunity to vent their frustrations on one another when the Colorado Rockies and San Francisco Giants open a three-game series in San Francisco on Monday night.
Cubs host high-scoring Braves in showdown of division leaders
The Atlanta Braves will take their run-scoring machine to Wrigley Field on Monday to open a four-game series against the host Chicago Cubs in a battle of first-place teams in the National League.
Cy Young winners highlight Dodgers' opener at D-backs
Cy Young Award winners and former teammates Zack Greinke and Clayton Kershaw will meet for the second time when the Arizona Diamondbacks and Los Angeles Dodgers open a three-game series Monday in Phoenix.
Indians on a tear to open series against Royals
The Cleveland Indians have recorded a three-game sweep in two of their past three series to improve to a season-best seven games over .500.
Red Sox start series vs. White Sox after tough weekend
The Boston Red Sox, underachieving after winning the World Series, continue a six-game homestand Monday night in the opener of a three-game series against the rebuilding and overachieving Chicago White Sox.
Reeling Mets, Phillies kick off four-game series
The Philadelphia Phillies suffered their seventh straight loss shortly after 4 p.m. on Sunday. But it took the New York Mets less than two hours to make the Phillies' struggles a secondary story heading into Monday's opener of a four-game series...