package click.kamil.examples.enterprise.api;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/api/enterprise/orders")
public interface OrderApi {

    @PostMapping("/place")
    void placeOrder();

    @PostMapping("/{id}/cancel")
    void cancelOrder(@PathVariable("id") String id);
}
