jmprathab / MyHome

A Java application which helps people to manage their apartment.
Apache License 2.0
93 stars 107 forks source link

Add Bearer authentication to api.yaml on proper endpoints #234

Closed mslowiak closed 3 years ago

mslowiak commented 3 years ago

Some endpoints should be protected, but actually our api.yaml file have not this information.

Link to OpenApi documentation: https://swagger.io/docs/specification/authentication/bearer-authentication/

The class that holds secured & public endpoints of application: https://github.com/jmprathab/MyHome/blob/master/service/src/main/java/com/myhome/security/WebSecurity.java

Things need to be done: