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

Change the YAML serialization format #31

Merged
merged 8 commits into from
May 23, 2017
Merged

Change the YAML serialization format #31

merged 8 commits into from
May 23, 2017

Conversation

felipecsl
Copy link
Collaborator

@felipecsl felipecsl commented May 19, 2017

Summary

This allows us to use a serialization format that looks more readable and more similar to what Betamax does. It also dumps the body as as plain text instead of base64 if it's deemed plain text (media type is either text/* or application/*).
Unfortunately SnakeYAML does not support immutable types well, so we need to use these javabeans style objects in order to have the YAML serialized the way we want.

Pending:

  • Remove javabeans setters if they are not needed
  • Fix remaining tests
  • Update existing tapes

@felipecsl felipecsl changed the title [WIP] Change the YAML serialization format Change the YAML serialization format May 22, 2017
@felipecsl felipecsl merged commit 23ab8cb into master May 23, 2017
@felipecsl felipecsl deleted the yaml--format branch May 23, 2017 03:57
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.

None yet

1 participant