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 support for search_result objects. #261

Merged
merged 4 commits into from
Jul 23, 2021
Merged

Add support for search_result objects. #261

merged 4 commits into from
Jul 23, 2021

Conversation

dcr-stripe
Copy link
Contributor

r? @richardm-stripe

Adds support for generating a search_result object with a single data element, rather than generating an empty result. This is similar to list behavior. As search_result has a slightly different schema, opted for duplicating the logic but happy to merge it in together.

This will need the updated OpenAPI spec before we can merge.

Copy link
Contributor

@richardm-stripe richardm-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

generator.go Outdated Show resolved Hide resolved
generator.go Outdated Show resolved Hide resolved
dcr-stripe and others added 3 commits July 23, 2021 10:20
Co-authored-by: Richard Marmorstein <[email protected]>
Co-authored-by: Richard Marmorstein <[email protected]>
@dcr-stripe dcr-stripe merged commit 249b5da into master Jul 23, 2021
@dcr-stripe dcr-stripe deleted the dcr-search-api branch July 23, 2021 14:35
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.

2 participants