Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BaseApiController #38

Open
vunb opened this issue Oct 5, 2019 · 0 comments
Open

Add BaseApiController #38

vunb opened this issue Oct 5, 2019 · 0 comments
Labels
Rest Api Extension Label for extensions @kites/rest

Comments

@vunb
Copy link
Member

vunb commented Oct 5, 2019

  • Allow a new controller definition extends from BaseApiController

Example:

@Controller("/")
class ExampleController extends BaseApiController {
    @Get("/")
    public async info() {
        return this.ok("foo");
    }
@vunb vunb added the Rest Api Extension Label for extensions @kites/rest label Oct 5, 2019
@vunb vunb added this to To Do in Kites Framework Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rest Api Extension Label for extensions @kites/rest
Projects
Development

No branches or pull requests

1 participant