- write a Spring Boot application that uses the following dependencies:
Lombok
Spring Boot DevTools
Spring Web
- add just 1 necessary maven dependency for
springfox
- add the right
ant_path_matcher
app configuration - create an entity called
ArithmeticOperation
that has the following (described) values:- a string
name
- an integer
minNumberOfOperands
- a string
description
- an array of strings
properties
- a string
- provide a default controller for the root with a welcome message (e.g. for someone who visit
localhost:5050
) - provide a controller called
MathController
fro the mapping/math
where you describe:mapping=""
:welcomeMathMsg()
mapping="division-info"
: that returns a newArithmeticOperation
with all the details about the divisionmapping="multiplication"
: that takes to int parameters and returns the multiplication valuemapping=square/{n}
: that returns the square of then
- document every method that can be called via API
- run the Spring application on port
5050
-
Notifications
You must be signed in to change notification settings - Fork 0
fconsiglio98/swagger-2
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published