Procházet zdrojové kódy

new api and small change

master
Daniel před 1 rokem
rodič
revize
8f34b2e6d5
3 změnil soubory, kde provedl 9 přidání a 1 odebrání
  1. +1
    -1
      export/openapi.json
  2. +6
    -0
      export/openapi.yaml
  3. +2
    -0
      src/ApiResource/SaleApi.php

+ 1
- 1
export/openapi.json
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 6
- 0
export/openapi.yaml Zobrazit soubor

@@ -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 Zobrazit soubor

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


Načítá se…
Zrušit
Uložit