Questions tagged [enunciate]

Enunciate is an engine for dramatically enhancing your Java Web service API.

Enunciate is a tool that can be used to automatically generate REST documentation by using JAX-RS and javadoc annotations. This can be integrated with build technologies such as ant, maven, and gradle.

140 questions
0
votes
2 answers

GWT Compile Error

I've been compiling my application all day absolutely fine however it's suddenly started to fail. As you can see from below, it's a NullPointException but I have no idea about what is wrong. Has anyone dealt with this before, or can offer any help…
Federer
  • 33,677
  • 39
  • 93
  • 121
0
votes
1 answer

Error while generating API docs using Enunciate

I created a webservice and would like to generate documentation for the API. So I looked into Enunciate downloaded the maven enunciate plugin. However I get the below error on compile as the webservice annotations are on my interface class that my…
Vijay Kumar
  • 2,439
  • 2
  • 32
  • 51
0
votes
2 answers

How do I add a directory in /target to the resulting JAR with Spring Boot?

I'm using Enunciate to generate REST documentation upon building a REST application. Enunicate outputs documentation to /target/docs. I would like to add the /docs directory to the resulting JAR file (and rename it) to be able to serve docs as…
sbrattla
  • 5,274
  • 3
  • 39
  • 63
0
votes
1 answer

jaxws enunciate soap response format

I inherited a project that contains multiple web services. I used one of them as a template to create a new one. It worked and am getting a good soap response. But the customer wants the response format to be different. Here's a snippet of the…
user3217883
  • 1,216
  • 4
  • 38
  • 65
0
votes
3 answers

How to make Enunciate show my data type as structured JSON (instead of as "custom")?

I have this simple service which echoes an ID parameter wrapped in a JSON object: @Path("job") public class JobResource { @GET @Produces(MediaType.APPLICATION_JSON) @Path("{id}") public Job readById(@PathParam("id") long id) { …
Carl
  • 77
  • 5
0
votes
1 answer

jaxws-maven-plugin, maven-enunciate-plugin example?

I've inherited a project that contains many jaxws services. I want to add another one and am trying to duplicate a similar working example. I can test that one like this ./soapget.sh soap_serial.xml r.xml where soapget.sh is #!/bin/bash …
user3217883
  • 1,216
  • 4
  • 38
  • 65
0
votes
1 answer

how to debug maven enunciate plugin tomcat web service

I've inherited a project that contains many java web services. I want to add another one so I've been using one that works as a template. I've added
user3217883
  • 1,216
  • 4
  • 38
  • 65
0
votes
1 answer

Enunciate Issue = Assembling the enunciate app. com.sun.tools.apt.mirror.type.ClassTypeImpl cannot be cast to com.sun.mirror.type.AnnotationType

I want my Enunciate report to contain Json Example for all the model classes, to test it I modified the enunciate configuraion to include json example and changed my model class from @XmlRootElement(name = "member-response") public class…
Srikanth Balaji
  • 2,638
  • 4
  • 18
  • 31
0
votes
2 answers

Enunciate Reporting - Error The 'assemble' goal requires 'war' packaging

I am getting the error while running the below command while generating enunciate report mvn clean pre-site site:site site:stage -PskipQuality -DskipTests=true -U My pom.xml's enunciate plugin configuration below
Srikanth Balaji
  • 2,638
  • 4
  • 18
  • 31
0
votes
1 answer

Enunciate framework - Not working with Spring Restful project

I have integrated enunciate framework to generate the API document for the Spring RESTful project. I have followed the steps from https://github.com/stoicflame/enunciate/wiki/Executables and deployed the war created from the enunciate configuration…
0
votes
1 answer

JAX-WS: Assembling the enunciate app using CXF

I am customizing an appfuse 3.0.0 Web Service Only artifact. I have faced this stacktrace when trying to add a checked exception to my Web Service: [ERROR] Failed to execute goal org.codehaus.enunciate:maven-enunciate-cxf-plugin:1.28:assemble…
Kayvan Tehrani
  • 3,070
  • 2
  • 32
  • 46
0
votes
1 answer

Enunciate doc generation issue with Java Restful webservices

Am trying to generate the REST doc using the enunciate plugin for my JAVA restful webservice project. whenever I run the POM.xml using the maven build. am getting the below warning and doc is not at all generating.. [WARNING] [docs] Splash package…
0
votes
1 answer

Can bean validation be documented with enunciate?

Is there a way to have enunciate document bean validation rules? Does it work for both bean validation by annotation and bean validation by xml configuration?
indybee
  • 1,507
  • 13
  • 17
0
votes
1 answer

Cannot access enunciate generated doc from deployed war in browser

I am using enunciate to generate my rest api documentation, initially it was working fine unless I added spring dependency to my project. My current pom: org.springframework
Aman Gupta
  • 5,548
  • 10
  • 52
  • 88
0
votes
3 answers

Enunciate Data Model Documentaton

I'm using Enunciate on a multi module maven project. I use version 1.28 and I just use it for documentation purposes on SOAP Services. This works just fine for all the Services. The targetNamespace and endpointInterface has to be declared in the…