Created
December 14, 2018 12:58
-
-
Save gohilronak/8d85663a836b3b56d893d5621e81fd96 to your computer and use it in GitHub Desktop.
Test Driven Development with Spring Boot CarController.java file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.tdd.controller; | |
import org.springframework.web.bind.annotation.GetMapping; | |
import org.springframework.web.bind.annotation.PathVariable; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
public class CarController { | |
@GetMapping("cars/{name}") | |
public void getCar(@PathVariable("name") String name) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment