| slideOptions |
|
|---|
{
"data": {
"attributes": {
"email": "john@example.com",
"effective_at": "2018-02-27T14:41:32.283Z"
}
}
}✅ ✅ ✅
- Integrate an external service
- Service object
- Controller, route and serializer
- Calls the service's endpoints
- Dependencies
- Service class
- Config class & Faraday connection
- Response class
- settings.yml
app/swagger/requests/*app/swagger/schemas/*app/controllers/v0/apidocs_controller.rb- Set config
- Create recording
- Update mock data table
- Service object specs
- Request specs
- VCR cassettes
- Response schema
- Spec files examples
expect(response).to match_response_schema(
'email_address_response'
)- Integrate an external service
- Email address endpoint PR
- Email address Betamocks config PR
- Email address Betamocks recording PR
- Setup Swagger locally
- Setup Betamocks
- vets-api-mockdata readme
- Endpoint Punch List