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

org.example.CommonApi Maven / Gradle / Ivy

package org.example;

import io.avaje.http.api.Get;
import io.avaje.http.api.Path;
import io.avaje.http.api.Produces;

import java.time.LocalDate;

@Path("/common")
public interface CommonApi {

  @Produces("text/plain")
  @Get("plain")
  String hello();

  @Produces("text/plain")
  @Get("name/{name}")
  String name(String name);

  @Produces("text/plain")
  @Get("{id}/{name}")
  String p2(long id, String name, LocalDate after, Boolean more);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy