Adds JWT secret, turns on Swagger UI, and cleans up refresh token response
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package net.halfbinary.scavengerhuntapi.model.converter
|
||||
|
||||
import net.halfbinary.scavengerhuntapi.model.response.RefreshResponse
|
||||
|
||||
fun String.toRefreshResponse(): RefreshResponse {
|
||||
return RefreshResponse(this)
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package net.halfbinary.scavengerhuntapi.model.response
|
||||
|
||||
data class RefreshResponse(
|
||||
val accessToken: String
|
||||
)
|
||||
Reference in New Issue
Block a user