ソースを参照

new api and small change

master
Daniel 1年前
コミット
8f34b2e6d5
3個のファイルの変更9行の追加1行の削除
  1. +1
    -1
      export/openapi.json
  2. +6
    -0
      export/openapi.yaml
  3. +2
    -0
      src/ApiResource/SaleApi.php

+ 1
- 1
export/openapi.json
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 6
- 0
export/openapi.yaml ファイルの表示

@@ -6074,6 +6074,8 @@ components:
items:
type: string
required:
- partner
- product
- turnover
- profit
- quantity
@@ -6161,6 +6163,8 @@ components:
items:
type: string
required:
- partner
- product
- turnover
- profit
- quantity
@@ -6262,6 +6266,8 @@ components:
items:
type: string
required:
- partner
- product
- turnover
- profit
- quantity


+ 2
- 0
src/ApiResource/SaleApi.php ファイルの表示

@@ -60,6 +60,7 @@ class SaleApi implements OwnerInterface
public ?string $ownerName = null;

#[ApiProperty(writable: true)]
#[NotBlank]
public ?PartnerApi $partner = null;

#[ApiProperty(writable: false)]
@@ -69,6 +70,7 @@ class SaleApi implements OwnerInterface
public ?string $partnerName = null;

#[ApiProperty(writable: true)]
#[NotBlank]
public ?ProductApi $product = null;

#[ApiProperty(writable: false)]


読み込み中…
キャンセル
保存