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

Suggestion: Adopt an established media type as the default #9

Open
mikekelly opened this issue Jul 5, 2012 · 2 comments
Open

Suggestion: Adopt an established media type as the default #9

mikekelly opened this issue Jul 5, 2012 · 2 comments

Comments

@mikekelly
Copy link

Hey guys, the DSL looks pretty good.. what is the media type that you are generating by default ?

If it is arbitrary JSON/XML - had you thought about adopting a media type to use as the default render for the DSL?

fwiw, I wrote a media type that can be serialized as both XML and JSON and might be appropriate for this purpose!

http://stateless.co/hal_specification.html

Cheers!

@guilhermesilveira
Copy link
Member

Hi Mike!

It makes total sense, its just a matter of replacing the default
output format (or adding support in some kind of flag)

cheers
Guilherme Silveira

On Thu, Jul 5, 2012 at 11:10 AM, Mike Kelly
[email protected]
wrote:

Hey guys, the DSL looks pretty good.. what is the media type that you are generating by default ?

If it is arbitrary JSON/XML - had you thought about adopting a media type to use as the default render for the DSL?

fwiw, I wrote a media type that can be serialized as both XML and JSON and might be appropriate for this purpose!

http://stateless.co/hal_specification.html

Cheers!


Reply to this email directly or view it on GitHub:
#9

@rehevkor5
Copy link

While this issue is mainly about the media type, allow me to add my vote for standardizing on HAL.

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

No branches or pull requests

3 participants