sdaschner / jaxrs-analyzer

Creates REST documentation for JAX-RS projects
Apache License 2.0
319 stars 101 forks source link

Add support for Jackson annotations to determine visibility and names of properties. #136

Open hansbarnard opened 6 years ago

hansbarnard commented 6 years ago

I added support for Jackson annotations:

A runtime arg will determine whether JAXB (default) or Jackson is used. Field/getter visibility rules and name resolution is entirely delegated to the Jackson library.

I also fixed an issue with one of the existing tests. Although the test appears to work by itself it leaves the JobRegistry.INSTANCE value as a mocked instance. This breaks a subsequent test but only if the other test is run after this test. In other words you might not always see the test failing. For example in Eclipse it worked fine but from commandline it failed for me.

sdaschner commented 6 years ago

Cool! Will check asap.

We should also think about supporting JSON-B (Java EE 8).

rmannibucau commented 6 years ago

+1 for that and to support JSON-B