Skip to content

Commit

Permalink
fix: Update swagger (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitolo-Andrea authored Jul 12, 2024
1 parent a3e2a21 commit da6bcd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ info:

servers:
- description: Development Test
url: https://mil-d-apim.azure-api.net/emd/message-core
url: https://api-io.dev.cstar.pagopa.it/emd/message-core
x-internal: true
- description: User Acceptance Test
url: https://mil-u-apim.azure-api.net/emd/message-core
url: https://api-io.uat.cstar.pagopa.it/emd/message-core
x-internal: true

tags:
- name: submit
description: Related to 'submit' operations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ public interface StubMessageCoreController {
@PostMapping("/save")
ResponseEntity<String> saveMessage(@Valid @RequestBody MessageDTO messageDTO);

@GetMapping("/get")
@GetMapping("/get/{fiscalCode}")
ResponseEntity<ArrayList<Message>> getMessages(@Valid @PathVariable String fiscalCode);
}

0 comments on commit da6bcd4

Please sign in to comment.