Skip to content

Commit

Permalink
Merge pull request #16 from mage-os/fix-rest-api-definition-for-swagg…
Browse files Browse the repository at this point in the history
…er-2

Adjust the Doc Blocks for the REST API
  • Loading branch information
avstudnitz authored Oct 2, 2023
2 parents 3992ee8 + d052a22 commit 7869b14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Api/AsyncEventRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface AsyncEventRepositoryInterface
* Get a single asynchronous event by id
*
* @param int $subscriptionId
* @return AsyncEventDisplayInterface
* @return \MageOS\AsyncEvents\Api\Data\AsyncEventDisplayInterface
* @throws NoSuchEntityException
*/
public function get(int $subscriptionId): AsyncEventDisplayInterface;
Expand All @@ -28,16 +28,16 @@ public function get(int $subscriptionId): AsyncEventDisplayInterface;
* Get a list of asynchronous events by search criteria
*
* @param SearchCriteriaInterface $searchCriteria
* @return AsyncEventSearchResultsInterface
* @return \MageOS\AsyncEvents\Api\Data\AsyncEventSearchResultsInterface
*/
public function getList(SearchCriteriaInterface $searchCriteria): AsyncEventSearchResultsInterface;

/**
* Save an asynchronous event
*
* @param AsyncEventInterface $asyncEvent
* @param \MageOS\AsyncEvents\Api\Data\AsyncEventInterface $asyncEvent
* @param bool $checkResources
* @return AsyncEventDisplayInterface
* @return \MageOS\AsyncEvents\Api\Data\AsyncEventDisplayInterface
* @throws NoSuchEntityException
* @throws LocalizedException
* @throws AlreadyExistsException
Expand Down

0 comments on commit 7869b14

Please sign in to comment.