Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add swagger annotations #493

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package uk.gov.hmcts.opal.controllers;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
Expand All @@ -18,6 +19,7 @@
public class CreateFineAccountsController {

@PostMapping(consumes = MediaType.APPLICATION_JSON_VALUE)
@Operation(summary = "cpp interface: creates fine accounts by criteria in request body xml.")
public ResponseEntity<OpalS2SResponseWrapper> createFineAccounts(OpalS2SRequestWrapper createFineAccountsRequest) {

log.info(":POST:createFineAccounts: request: \n{}", createFineAccountsRequest);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package uk.gov.hmcts.opal.controllers;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
Expand All @@ -18,6 +19,7 @@
public class DebtorProfileSearchController {

@PostMapping(consumes = MediaType.APPLICATION_JSON_VALUE)
@Operation(summary = "cpp interface: Searches for debtor profile by criteia in request body xml.")
public ResponseEntity<OpalS2SResponseWrapper> searchDebtorProfile(OpalS2SRequestWrapper debtorProfileRequest) {

log.info(":POST:searchDebtorProfile: request: \n{}", debtorProfileRequest);
Expand Down