소스 검색

fixes

master
Florian Eisenmenger 1 년 전
부모
커밋
ff211bd17f
3개의 변경된 파일216개의 추가작업 그리고 30개의 파일을 삭제
  1. +1
    -1
      export/openapi.json
  2. +213
    -27
      export/openapi.yaml
  3. +2
    -2
      src/Mapper/PostingApiToEntityMapper.php

+ 1
- 1
export/openapi.json
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 213
- 27
export/openapi.yaml
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 2
- 2
src/Mapper/PostingApiToEntityMapper.php 파일 보기

@@ -39,13 +39,13 @@ class PostingApiToEntityMapper implements MapperInterface
} else {
$user = $this->security->getUser();
assert($user instanceof User);
if ($dto->partner === null) {
if ($dto->partnerIri === null) {
throw new \Exception('Partner missing');
}
$partner = $this->microMapper->map($dto->partnerIri, Partner::class, [
MicroMapperInterface::MAX_DEPTH => 1,
]);
if ($dto->product === null) {
if ($dto->productIri === null) {
throw new \Exception('Product missing');
}
$product = $this->microMapper->map($dto->productIri, Product::class, [


불러오는 중...
취소
저장