Skip to content

plaul/day3-customer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comments related to the REST part

Compared to what we did in the class I have added an alternative version of PUT on:

\api\Customers\V2\{id}

I prefer the version that reports a non-existing Customer as an error, but remember you are free to create IF you return 201 in those cases

You might want to take a look (3. min) on my explanation related to this: PUT explained

Comments related to the Documentation part

  • This version provides swagger generated documentation on: http://localhost:8080/swagger-ui/index.html#/
  • All it took to get this was:
    • the springfox-boot-starter dependency in the POM-file
    • the SwaggerConfig class in configurations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages