docs: 更新业务提供项公开契约
This commit is contained in:
1 parent
a374614313
commit
c3edc4f595
3 files changed
+6
-7
No files matched your search
+4
-4
@@ -26,9 +26,9 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/BrandProfile"
|
||||
/public/services:
|
||||
/public/offerings:
|
||||
get:
|
||||
operationId: listPublicServices
|
||||
operationId: listPublicOfferings
|
||||
responses:
|
||||
"200":
|
||||
description: Enabled public services
|
||||
@@ -37,7 +37,7 @@ paths:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/PublicService"
|
||||
$ref: "#/components/schemas/PublicOffering"
|
||||
/customer/session/wechat:
|
||||
post:
|
||||
operationId: createCustomerSession
|
||||
@@ -260,7 +260,7 @@ components:
|
||||
hours: { type: [string, "null"] }
|
||||
address: { type: [string, "null"] }
|
||||
deliveryNote: { type: [string, "null"] }
|
||||
PublicService:
|
||||
PublicOffering:
|
||||
type: object
|
||||
required: [id, name, description, bookingEnabled]
|
||||
properties:
|
||||
|
||||
Reference in new issue
Block a user