Преглед на файлове

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)]


Зареждане…
Отказ
Запис