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

Bring the TLE backend to parity with the current stapi-spec #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

josh-osk
Copy link
Collaborator

@josh-osk josh-osk commented Oct 9, 2024

This PR aims to fixup the TLE backend so the opportunities endpoint returns values successfully.

The specific changes include updating the PassProperties model to inherit from the correct base class, hoisting some properties from the request, adding produt_id to the response, and generally providing a shape that will pass validation.

The passes object will now pull the datetime from the original request. Furthermore, it inherits the correct base model. Lastly,
the shape of the opportunity class now matches what the validator expects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant