package io.github.jokoframework.porandu.rest;

/**
 * Created by joko on 06/05/16.
 */
public class ApiPaths {
    /**/
    public static final String ROOT_PORANDU = "/api/porandu";
    public static final String ROOT_DIAGNOSTIC = "/diagnostic";
    /**
     * El objetivo de este mapping es que cada controller tenga su propio diagnóstico, debe tener el path común
     * que precede a las operaciones principales del RestController en cuestión
     */
    public static final String SUFFIX_HEART_BEAT = "/heartbeat";
    public static final String PORANDU_HEARTBEAT = ROOT_PORANDU + SUFFIX_HEART_BEAT;
    public static final String ROOT_EVENTS = "/api/evens";
    public static final String EVENTS_HEARTBEAT = ROOT_EVENTS + SUFFIX_HEART_BEAT;
    public static final String ROOT_LECTURES = "/api/lectures";
    public static final String LECTURES_HEARTBEAT = ROOT_LECTURES + SUFFIX_HEART_BEAT;
    public static final String ROOT_QUESTIONS = "/api/questions";
    public static final String QUESTION = "/api/questions/{questionId}";
    public static final String QUESTION_VOTE = "/api/questions/{questionId}/vote";
    public static final String QUESTION_DOWNVOTE = "/api/questions/{questionId}/downvote";
    public static final String QUESTIONS_HEARTBEAT = ROOT_QUESTIONS + SUFFIX_HEART_BEAT;

    private ApiPaths() {

    }
}


@@ -652,16 +652,17 @@
 api/even
+t
 s%22;%0A    

Update ApiPaths.java - Corrected REST path