Merge branch 'swaggerAPI' into main

This commit is contained in:
Garethe
2024-05-10 07:27:17 +01:00
committed by GitHub
+9 -5
View File
@@ -52,9 +52,9 @@ paths:
"@context": https://www.datafoodconsortium.org "@context": https://www.datafoodconsortium.org
"@id": http://test.host/api/dfc/Addresses/40000 "@id": http://test.host/api/dfc/Addresses/40000
"@type": dfc-b:Address "@type": dfc-b:Address
dfc-b:hasStreet: 10 Lovely Street dfc-b:street: 10 Lovely Street
dfc-b:hasPostalCode: '20170' dfc-b:postcode: '20170'
dfc-b:hasCity: Herndon dfc-b:city: Herndon
dfc-b:hasCountry: United States of America dfc-b:hasCountry: United States of America
dfc-b:region: Virginia dfc-b:region: Virginia
dfc-b:latitude: 38.89750 dfc-b:latitude: 38.89750
@@ -356,7 +356,9 @@ paths:
"@type": dfc-b:Offer "@type": dfc-b:Offer
dfc-b:hasPrice: 19.99 dfc-b:hasPrice: 19.99
dfc-b:stockLimitation: 5 dfc-b:stockLimitation: 5
put: dfc-b:discount: 2.95
dfc-b:offersTo: https://test.host/api/dfc/enterprises/10000/customercategory/10005
put:
summary: Update Offer summary: Update Offer
parameters: [] parameters: []
tags: tags:
@@ -374,7 +376,9 @@ paths:
"@type": dfc-b:Offer "@type": dfc-b:Offer
dfc-b:hasPrice: 9.99 dfc-b:hasPrice: 9.99
dfc-b:stockLimitation: 7 dfc-b:stockLimitation: 7
"/api/dfc/Persons/{id}": dfc-b:discount: 1.50
dfc-b:offersTo: https://test.host/api/dfc/enterprises/10000/customercategory/10005
"/api/dfc/persons/{id}":
get: get:
summary: Show person summary: Show person
parameters: parameters: