Quellcode durchsuchen

new api and small change

master
Daniel vor 1 Jahr
Ursprung
Commit
8f34b2e6d5
3 geänderte Dateien mit 9 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      export/openapi.json
  2. +6
    -0
      export/openapi.yaml
  3. +2
    -0
      src/ApiResource/SaleApi.php

+ 1
- 1
export/openapi.json
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 6
- 0
export/openapi.yaml Datei anzeigen

@@ -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 Datei anzeigen

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


Laden…
Abbrechen
Speichern