Преглед изворни кода

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


Loading…
Откажи
Сачувај