Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Better handling of custom vnd media types #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ddossot
Copy link
Contributor

@ddossot ddossot commented Sep 9, 2014

The current implementation of getShortMimeType generates names that are not valid as Java identifier so it's basically impossible to use custom vnd. media types with the generator.

I've added unit tests as well, first to capture the current behaviour, proves it doesn't change then test the new behaviour.

This PR builds on #32 which is supposed to be pulled.

Justin Calleja and others added 2 commits August 27, 2014 16:56
…o be

able to generate a valid Java method name for 'application/octet-stream'
(which was generating e.g. octet-streamOK)
@petrochenko-pavel-a
Copy link
Contributor

It's in progress. We are merging the projects. Please check: URL to the temp one https://github.com/usarid/RAML-for-JAX-RS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants