Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e43aca0c
authored
Apr 01, 2015
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
there, I fixed it
1 parent
9914e624
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
code/moya-web/src/main/java/fi/codecrew/moya/servlet/SwaggerJaxrsConfig.java
code/moya-web/src/main/java/fi/codecrew/moya/servlet/SwaggerJaxrsConfig.java
View file @
e43aca0
package
fi
.
codecrew
.
moya
.
servlet
;
package
fi
.
codecrew
.
moya
.
servlet
;
import
javax.ejb.EJB
;
import
javax.servlet.ServletException
;
import
javax.servlet.ServletException
;
import
javax.servlet.annotation.WebServlet
;
import
javax.servlet.annotation.WebServlet
;
import
javax.servlet.http.HttpServlet
;
import
javax.servlet.http.HttpServlet
;
import
fi.codecrew.moya.beans.EventBeanLocal
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
...
@@ -21,9 +23,7 @@ public class SwaggerJaxrsConfig extends HttpServlet {
...
@@ -21,9 +23,7 @@ public class SwaggerJaxrsConfig extends HttpServlet {
private
static
final
long
serialVersionUID
=
35868122371671912L
;
private
static
final
long
serialVersionUID
=
35868122371671912L
;
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
SwaggerJaxrsConfig
.
class
);
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
SwaggerJaxrsConfig
.
class
);
// TODO: Make API url configurable or invent something smart to overcome
private
static
final
String
BASE_URL
=
"/MoyaWeb"
;
// the need of base url.
private
static
final
String
BASE_URL
=
"http://localhost:8080/MoyaWeb"
;
private
static
final
String
API_RESOURCE_PACKAGE
=
"fi.codecrew.moya.rest"
;
private
static
final
String
API_RESOURCE_PACKAGE
=
"fi.codecrew.moya.rest"
;
@Override
@Override
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment