Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SP-13678: Fix feedback #153

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 21 additions & 14 deletions p-transaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ info:

paths:
/transaction/{transactionId}/process:
parameters:
- in: header
name: X-CLIENT-KEY
schema:
type: string
required: true
post:
parameters:
- in: path
Expand Down Expand Up @@ -170,18 +164,16 @@ components:
type: object
properties:
url:
description: "Image url"
description: "Response url"
type: string
images:
type: array
items:
$ref: "#/components/schemas/TransactionImagesFieldValue"

InData:
type: object
properties:
rfidSession:
type: object
properties:
url:
description: "Image url"
type: string
video:
description: "Video"
type: object
Expand All @@ -196,7 +188,7 @@ components:
images:
type: array
items:
$ref: "common.yml#/components/schemas/ImageTransactionData"
$ref: "#/components/schemas/TransactionImagesFieldValue"

TransactionProcessRequest:
type: object
Expand Down Expand Up @@ -231,3 +223,18 @@ components:
additionalProperties: true
required:
- processParam

TransactionImagesFieldValue:
type: object
properties:
fieldType:
$ref: "./e-graphic-field-type.yml#/components/schemas/GraphicFieldType"
light:
$ref: "./common.yml#/components/schemas/Light"
listIdx:
type: integer
pageIdx:
$ref: "./common.yml#/components/schemas/PageIndex"
url:
type: string
description: "Image url"
Loading