-
Notifications
You must be signed in to change notification settings - Fork 471
Add support for Collection+JSON media type #482
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fffb4ac
to
247c9a6
Compare
@olivergierke I fixed all the issues such that is works for current, spring42, spring43, spring43-next, and spring5. |
247c9a6
to
ab98e8f
Compare
@olivergierke Would you mind reviewing this PR to see if we can add JSON Collection support? |
ab98e8f
to
1f63e6e
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Mar 7, 2017
Introduce support for media type application/vnd.collection+json. JSON Collection doesn't allow metadata at the top, so paging data can't be covered, however, navigational links are.
1f63e6e
to
ae7ee11
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Mar 13, 2017
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
ae7ee11
to
0ca187a
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Mar 13, 2017
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
This was referenced Mar 14, 2017
0ca187a
to
4e41539
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Mar 14, 2017
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
4e41539
to
bb14a84
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Mar 31, 2017
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
bb14a84
to
0c39f92
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Mar 31, 2017
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
Related issue: #16 |
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 10, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
1c3e00e
to
28725db
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 10, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
28725db
to
6a17e23
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 10, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
6a17e23
to
ebcff24
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 12, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
ebcff24
to
405d576
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 12, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits.
405d576
to
4e285d6
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 15, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits. Also moved a little bit more into Affordance and SpringMvcAffordance to avoid using Spring MVC annotations directly in a given mediatype's AffordanceModel.
4e285d6
to
d362230
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 17, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits. Also moved a little bit more into Affordance and SpringMvcAffordance to avoid using Spring MVC annotations directly in a given mediatype's AffordanceModel. Refactor bits of HAL-FORMS to reuse the new PropertyUtils, ensuring Jackson ignore annotations are taken into consideration. Also added MockMVC tests to show HAL-FORMS and Collection+JSON working together, against the same controller.
d362230
to
c6f251e
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 17, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits. Also moved a little bit more into Affordance and SpringMvcAffordance to avoid using Spring MVC annotations directly in a given mediatype's AffordanceModel. Refactored bits of HAL-FORMS to reuse the new PropertyUtils, ensuring Jackson ignore annotations are taken into consideration. Also added MockMVC tests to show HAL-FORMS and Collection+JSON working together, against the same controller.
c6f251e
to
4a0756d
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 18, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits. Also moved a little bit more into Affordance and SpringMvcAffordance to avoid using Spring MVC annotations directly in a given mediatype's AffordanceModel. Refactored bits of HAL-FORMS to reuse the new PropertyUtils, ensuring Jackson ignore annotations are taken into consideration. Also added MockMVC tests to show HAL-FORMS and Collection+JSON working together, against the same controller.
4a0756d
to
1463117
Compare
gregturn
added a commit
to gregturn/spring-hateoas
that referenced
this pull request
Jan 19, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits. Also moved a little bit more into Affordance and SpringMvcAffordance to avoid using Spring MVC annotations directly in a given mediatype's AffordanceModel. Refactored bits of HAL-FORMS to reuse the new PropertyUtils, ensuring Jackson ignore annotations are taken into consideration. Also added MockMVC tests to show HAL-FORMS and Collection+JSON working together, against the same controller.
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits. Also moved a little bit more into Affordance and SpringMvcAffordance to avoid using Spring MVC annotations directly in a given mediatype's AffordanceModel. Refactored bits of HAL-FORMS to reuse the new PropertyUtils, ensuring Jackson ignore annotations are taken into consideration. Also added MockMVC tests to show HAL-FORMS and Collection+JSON working together, against the same controller.
1463117
to
b4e126e
Compare
@olivergierke I believe I've hammered everything out.
So, if we can get this reviewed to push it forward, that would be great! |
odrotbohm
pushed a commit
that referenced
this pull request
Apr 18, 2018
Introduce support for media type application/vnd.collection+json. Collection+JSON doesn't allow metadata at the top, so paging data can't be covered, however, everything else fits. Also moved a little bit more into Affordance and SpringMvcAffordance to avoid using Spring MVC annotations directly in a given mediatype's AffordanceModel. Refactored bits of HAL-FORMS to reuse the new PropertyUtils, ensuring Jackson ignore annotations are taken into consideration. Also added MockMVC tests to show HAL-FORMS and Collection+JSON working together, against the same controller.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.