Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Created April 18, 2019 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recursivecodes/c54575d986948c9bc1640be0f41625c7 to your computer and use it in GitHub Desktop.
Save recursivecodes/c54575d986948c9bc1640be0f41625c7 to your computer and use it in GitHub Desktop.
package codes.recursive.gorm.atp.controller
import groovy.transform.CompileStatic
import io.micronaut.http.annotation.Controller
import io.micronaut.http.annotation.Get
import io.micronaut.http.HttpStatus
@CompileStatic
@Controller("/person")
class PersonController {
@Get("/")
HttpStatus index() {
return HttpStatus.OK
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment