All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.carma.swagger.doclet.sample.resources.RegexPathResource Maven / Gradle / Ivy

The newest version!
package com.carma.swagger.doclet.sample.resources;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;

@SuppressWarnings("javadoc")
@Path("project/{id: [0-9]+}")
public class RegexPathResource {

	@GET
	public String getById(@PathParam("id") int id) {
		System.out.println("get by id: " + id);
		return null;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy