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

chore: clean up prism mocker #34

Merged
merged 29 commits into from
May 6, 2021
Merged

chore: clean up prism mocker #34

merged 29 commits into from
May 6, 2021

Conversation

JenniferMah
Copy link
Contributor

@JenniferMah JenniferMah commented Apr 28, 2021

Fixes

Remove duplicate files and use the code in twilio-go. Add documentation for how to run tests locally.

Jira Ticket: https://issues.corp.twilio.com/browse/DI-1263
Related PR: #34

Checklist

  • I acknowledge that all my contributions will be made under the project's license
  • Run make test-docker
  • I have titled the PR appropriately
  • I have updated my branch with the main branch
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation about the functionality in the appropriate .md file
  • I have added inline documentation to the code I modified

README.md Outdated Show resolved Hide resolved
examples/go/go.mod Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@JenniferMah JenniferMah marked this pull request as draft May 3, 2021 21:14
@JenniferMah JenniferMah marked this pull request as ready for review May 3, 2021 23:46
examples/go/go.mod Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
prism.sh Outdated Show resolved Hide resolved
@@ -3,6 +3,7 @@
OPENAPI_GENERATOR_VERSION=5.0.1

install:
cd examples/go && go get github.com/twilio/twilio-go@main
Copy link
Contributor

Choose a reason for hiding this comment

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

Not something to fix right now, but don't like that we're requiring go during install since we may use this repo to generate other languages in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed. The goal here is to pull the latest commit from twilio-go when running tests. Would it be better to move this into the ./prism.sh file?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm okay with it here for now since it makes working with the Go tests in an IDE better.

README.md Show resolved Hide resolved
prism.sh Outdated Show resolved Hide resolved
@JenniferMah JenniferMah merged commit 4ab0576 into main May 6, 2021
@JenniferMah JenniferMah deleted the DI-1263 branch May 6, 2021 20:05
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.

5 participants