bovid.endpoints.smoke module¶
- class bovid.endpoints.smoke.SmokeTestHTTPEndpoint¶
Bases:
AnnotatedHTTPEndpointConstant smoke test value for the application.
This endpoint returns a constant hard-coded value for the model which is intended for smoke testing the application.
- GET_RESPONSES: ResponseSpec = {200: ResponseBodySpec(datatype=<class 'ibeks.models.smoke.SmokeTest'>, media_types=frozenset({<MediaType.json: 'application/json'>}), description='OK')}¶
- async get(request)¶
- Parameters:
self (AnnotatedHTTPEndpoint)
request (Request)
- Return type:
JSONSerializedResponse