The novel of Farewell to arms was based on Hemingway's own experiences serving in the Italian campaigns during the First World War.
Explanation:
A Farewell to Arms centers around a few conflicting subjects: war and love, manliness and gentility, and dread and boldness. Despite the fact that the setting of the novel is war, the characters can beat their apprehensions, reclassify sex jobs, and begin to look all starry eyed at one another.
The inspiration for Catherine Barkley, the writer of this novel was Agnes von Kurowsky who was a nurse who cared for Hemingway in a hospital in Milan after he had been wounded.