Skip to content
Snippets Groups Projects
Commit 5da710d9 authored by Tom Käsler's avatar Tom Käsler
Browse files

change whitespace to tabs, remove unneccessary annotations

parent 1c08728d
Branches
Tags
1 merge request!10Interactive API documentation
...@@ -23,12 +23,12 @@ package de.thm.arsnova.controller; ...@@ -23,12 +23,12 @@ package de.thm.arsnova.controller;
public class AbstractController { public class AbstractController {
protected static final String X_DEPRECATED_API = "X-Deprecated-API"; protected static final String X_DEPRECATED_API = "X-Deprecated-API";
protected static final String X_FORWARDED = "X-Forwarded"; protected static final String X_FORWARDED = "X-Forwarded";
protected static final String HTML_STATUS_200 = "OK"; protected static final String HTML_STATUS_200 = "OK";
protected static final String HTML_STATUS_201 = "Created"; protected static final String HTML_STATUS_201 = "Created";
protected static final String HTML_STATUS_204 = "No Content"; protected static final String HTML_STATUS_204 = "No Content";
protected static final String HTML_STATUS_400 = "Bad request"; protected static final String HTML_STATUS_400 = "Bad request";
protected static final String HTML_STATUS_403 = "Forbidden"; protected static final String HTML_STATUS_403 = "Forbidden";
protected static final String HTML_STATUS_404 = "Not Found"; protected static final String HTML_STATUS_404 = "Not Found";
protected static final String HTML_STATUS_501 = "Not Implemented"; protected static final String HTML_STATUS_501 = "Not Implemented";
protected static final String HTML_STATUS_503 = "Service Unavailable"; protected static final String HTML_STATUS_503 = "Service Unavailable";
} }
...@@ -224,7 +224,7 @@ public class SessionController extends PaginationController { ...@@ -224,7 +224,7 @@ public class SessionController extends PaginationController {
} }
@ApiOperation(value = "Retrieves all public pool sessions for the current user", @ApiOperation(value = "Retrieves all public pool sessions for the current user",
nickname = "getMyPublicPoolSessions", response = Session.class, responseContainer = "List") nickname = "getMyPublicPoolSessions")
@ApiResponses(value = { @ApiResponses(value = {
@ApiResponse(code = 204, message = HTML_STATUS_204) @ApiResponse(code = 204, message = HTML_STATUS_204)
}) })
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment