teragrep / cfe_18

0 stars 2 forks source link

Documenting endpoints #39

Closed Nefarious46 closed 3 months ago

Nefarious46 commented 7 months ago

Description @RequestMapping(path = "custompath", method = RequestMethod.GET) @Operation(summary = "Get a by its id") @ApiResponses(value = { @ApiResponse(responseCode = "200", description = "Found ", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = model.class))}), @ApiResponse(responseCode = "400", description = "Invalid ", content = @Content) })

Something similar needs to be added per endpoint to display documentation on swagger-ui

Nefarious46 commented 3 months ago

This is already implemented on all endpoints and will be created per new endpoint.