git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating REST API service from yaml


This will be in the upcoming Camel 2.21 release so wait for that
release to come out

On Mon, Mar 5, 2018 at 4:15 PM,  <hrvoje.djurdjevic@xxxxxx> wrote:
> Hi Claus,
>
> thank you for your suggestion. I tried to utilize it, however I can't
> figure out how to do it.
> When I tried to compile test java classes found here:
> https://github.com/apache/camel/tree/master/tooling/swagger-rest-dsl-generator/src/test/java/org/apache/camel/generator/swagger
> it complains in RestDslXmlGeneratorTest.java about:  "The method
> toXml(Swagger) is undefined for the type RestDslGenerator" , and
> in RestDslGeneratorTest.java it complains about: "The method
> withGeneratedTime(Instant) from the type
> RestDslSourceCodeGenerator<Appendable> is not visible"
>
> When I tried to addjust an existing project's pom.xml, to define a new
> goal of generating restdsl from yaml, add neccesary dependencies for it,
> and I don't know what else is needed,
> I received some strange complaint like this: "Plugin execution not covered
> by lifecycle configuration" and I was stuck there.
> Do you have somewhere the simplest possible instruction on how to use this
> code generator, please?
> ______________________
>
> Napomena:
> Ova elektronička poruka i njeni prilozi mogu sadržavati povjerljive i/ili povlaštene informacije, a namijenjena je isključivo za upotrebu naznačenog primatelja. Ako ste ovu poruku primili greškom, molimo Vas da o tome bez odlaganja obavijestite pošiljatelja, da uništite izvornu poruku i njene priloge i bez odlaganja poruku i njene priloge izbrišete iz Vašeg sistema. Neovlaštena uporaba, distribucija, otkrivanje, umnožavanje ili izmjena ove poruke je zabranjena. Raiffeisenbank Austria d.d. ne daje niti ne prihvaća pravno obvezujuće izjave putem elektroničkih poruka osim ukoliko drugačije nije izričito navedeno. Budući da komunikacija internetom nije zaštićena, Raiffeisenbank Austria d.d. ne prihvaća odgovornost za sadržaj ove poruke, kao ni za eventualnu štetu nastalu zbog zaraženosti ove poruke virusom ili drugim štetnim programom, te zbog eventualnih tehničkih problema prilikom dostave ove poruke.
>
> Disclaimer:
> This e-mail message and any attachment may contain confidental and/or privileged information and is intended for use by the indicated addressee only. If you have received this message in error, please notify the sender immediately, destroy the original message and any attachment and delete this message and any attachment from your system. Unauthorized use, distribution, disclosure, reproduction, or alteration of this e-mail message is forbidden. Raiffeisenbank Austria d.d. neither makes nor accepts legally binding statements via e-mail unless otherwise stated. Considering that internet communication is not secured, Raiffeisenbank Austria d.d. is not responsible for the content of this message, for potential damage occured due to infection of this message with a virus or other malicious program, and for potential technical problems during delivery of this message.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2