Skip to content

Commit

Permalink
Merge pull request openfoodfoundation#12935 from mkllnk/dfc-doc-deter…
Browse files Browse the repository at this point in the history
…ministic

Make DFC API docs deterministic
  • Loading branch information
dacook authored Oct 23, 2024
2 parents 1c58b06 + d1ebe4e commit a123369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

before do
order = create(:order_with_totals_and_distribution, :completed)
order.variants.first.product.update!(name: "Tomato")
ConnectedApps::AffiliateSalesData.new(
enterprise: order.distributor
).connect({})
Expand Down
2 changes: 1 addition & 1 deletion swagger/dfc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ paths:
dfc-b:hasPostalCode: '20170'
dfc-b:supplies:
"@type": dfc-b:SuppliedProduct
dfc-b:name: 'Product #3 - 3355'
dfc-b:name: Tomato
dfc-b:hasQuantity:
"@type": dfc-b:QuantitativeValue
dfc-b:hasUnit: dfc-m:Gram
Expand Down

0 comments on commit a123369

Please sign in to comment.