Better list formatting in Javadoc.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
This commit is contained in:
Santiago Pericasgeertsen
2020-06-11 11:13:43 -04:00
parent a0ac43b4a0
commit e415a72d5c
2 changed files with 10 additions and 6 deletions

View File

@@ -21,11 +21,13 @@ import java.util.List;
* This class implements REST endpoints to interact with Pokemons. The following
* operations are supported:
*
* GET /pokemon: Retrieve list of all pokemons
* GET /pokemon/{id}: Retrieve single pokemon by ID
* GET /pokemon/name/{name}: Retrieve single pokemon by name
* DELETE /pokemon/{id}: Delete a pokemon by ID
* POST /pokemon: Create a new pokemon
* <ul>
* <li>GET /pokemon: Retrieve list of all pokemons</li>
* <li>GET /pokemon/{id}: Retrieve single pokemon by ID</li>
* <li>GET /pokemon/name/{name}: Retrieve single pokemon by name</li>
* <li>DELETE /pokemon/{id}: Delete a pokemon by ID</li>
* <li>POST /pokemon: Create a new pokemon</li>
* </ul>
*/
@Path("pokemon")
public class PokemonResource {

View File

@@ -12,7 +12,9 @@ import java.util.List;
/**
* This class implements a REST endpoint to retrieve Pokemon types.
*
* GET /type: Retrieve list of all pokemon types
* <ul>
* <li>GET /type: Retrieve list of all pokemon types</li>
* </ul>
*/
@Path("type")
public class PokemonTypeResource {