http_annotations library
Provides annotations for http code gen
Classes
- Body
- Annotate a parameter with the body of the request (post, put, patch, delete)
- Header
- Annotate methods with constant headers
- HttpApi
- Entry point annotation for generating requests
- Interceptor
- Provides optional onRequest and onResponse handlers to be used with InterceptorsMixin
- InterceptorsHttpClient
- Http client that supports InterceptorsMixin
- InterceptorsMixin
- A mixin that can be used with your api class to add interceptors in conjunction with InterceptorsHttpClient
- QueryParam
- Annotate a parameter with query parameter
- Route
- Annotate methods with appropirate HTTP Method and path
- StatusCodesWithBody
- Annotate methods with HTTP status codes that have body