Commit ba9d9ad6 by Juho Juopperi

Fellun suosituksesta versioitu API:

/MoyaWeb/rest/meta/v1/<type>/<id>/<path...>
1 parent a47f872e
package fi.codecrew.moya.rest.meta;
package fi.codecrew.moya.rest.meta.v1;
import java.io.StringReader;
import java.util.ArrayList;
......@@ -23,10 +23,10 @@ import fi.codecrew.moya.model.PrintedCard;
import fi.codecrew.moya.utilities.JsonUtils;
@RequestScoped
@Path("/meta/printedcard")
@Path("/meta/v1/printedcard")
@Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
@Produces({ MediaType.APPLICATION_JSON + "; charset=UTF-8" })
public class PrintedCardRestView {
public class PrintedCardRestViewV1 {
@EJB
CardTemplateBeanLocal cardTemplateBeanLocal;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!