Re: Fwd: How to generate swagger documentation

2020-10-14 Thread Francesco Chicchiriccò
On 14/10/20 11:06, Dmitriy Brashevets wrote:
>
> Hi Franchesco.
>
>  
>
> My fault.
>
> I’m running Apache Syncope *2.1.6* instead of *2.0.16.*
>
> Sorry again for this typo.
>
No problems :-)

About 2.1.6 (and 2.1.7 of course) we have several running projects, all with 
Swagger UI enabled, all working fine.

I'd suggest anyway to proceed as indicated below to check your generated 
openapi.json.

Regards.

> *From:* Francesco Chicchiriccò 
> *Sent:* Wednesday, October 14, 2020 10:27 AM
> *To:* user@syncope.apache.org
> *Subject:* Re: Fwd: How to generate swagger documentation
>
>  
>
> Hi Dmitriy,
> I have just generated a new Syncope 2.0.16 project following
>
> http://syncope.apache.org/docs/2.0/getting-started.html#create-project
>
>  
>
> then built via
>
>  
>
> mvn -Pall clean install
>
>  
>
> and finally run via
>
>  
>
> cd enduser
> mvn -Pall,embedded
>
>  
>
> Swagger UI worked fine after accessing
>
> http://localhost:9080/syncope/swagger/
>
>  
>
> and making some sample queries.
>
>  
>
> Coming to your issue, I would suggest first to check that you have been 
> actually following
>
>  
>
> https://syncope.apache.org/docs/2.0/reference-guide.html#customization-core
>
> and not
>
> https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core
>
>  
>
> as you are writing below.
>
>  
>
> Secondly, try to access
>
> [protocol]://[host]:[port]/syncope/rest/openapi.json
>
>  
>
> and see what result you get; naturally, watch the Core logs as well.
>
>  
>
> HTH
> Regards.
>
>  
>
> On 13/10/20 16:39, Dmitriy Brashevets wrote:
>
> Hi Apache Syncope guys.
>
> What version of Apache Syncope are you running?
> I’m trying to run the *Apache Syncope 2.0.16* on *Tomcat 9.0.39*.
>
> I’m able run the Apache Syncope Core and I also enabled Swagger extension 
> like described here 
> <https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core>,
>  but when I’m accessing swagger I’m having an error:
>
>  
>
> Uncaught SyntaxError: Invalid regular expression:
> /[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-�ˆ-ˑˠ
> -ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-�Ҋ-ԯԱ-Ֆՙա-և�-תװ-ײؠ
> -يٮٯٱ-Û“Û•Û¥Û¦Û®Û¯Ûº-Û¼Û¿Ü�Ü’-ܯÝ�-ޥޱߊ-ߪߴߵߺࠀ-à •à šà ¤à 
> ¨à¡€-ࡘࢠ
> -ࢴऄ-हऽà¥�क़-ॡॱ-ঀঅ-ঌà¦�à¦�ও-নপ-রলশ-হঽৎড়à§�য়-ৡৰৱਅ-ਊà¨�à¨�ਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-àª�àª�-ઑઓ-નપ-રલળવ-હઽà«�à«
>  
> ૡૹଅ-ଌà¬�à¬�ଓ-ନପ-ରଲଳଵ-ହଽଡ଼à­�à­Ÿ-ୡୱஃஅ-ஊஎ-à®�à®’-கஙசஜஞடணதந-பம-ஹà¯�à°…-ఌఎ-à°�à°’-నప-హఽౘ-ౚà±
>  à±¡à²…-ಌಎ-à²�ಒ-ನಪ-ಳವ-ಹಽೞೠ
> ೡೱೲഅ-ഌഎ-à´�à´’-ഺഽൎൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-à·†à¸�-ะาำเ-ๆàº�ຂຄງຈຊàº�ດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿá��-á�•á�š-á��á�¡á�¥á�¦á�®-á�°á�µ-á‚�á‚Žá‚
>  -ჅჇáƒ�áƒ�-ჺჼ-ቈቊ-á‰�á‰�-ቖቘቚ-á‰�በ
> -ኈኊ-áŠ�áŠ�-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-áŒ�ጒ-ጕጘ-á�šáŽ€-áŽ�áŽ
>  -á�µá�¸-á�½á��-ᙬᙯ-ᙿáš�-áššáš -ᛪᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱá�€-á�‘á� 
> -��-�ក-ឳៗៜᠠ
> -ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞ�-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ
> -ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠ
> ᮮᮯᮺ-ᯥᰀ-ᰣ�-�ᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-�ἠ
> -ὅὈ-á½�á½�-ὗὙὛá½�Ὗ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-á¿Œá¿�-á¿“á¿–-á¿›á¿
>  
> -Ῥῲ-ῴῶ-ῼâ�±â�¿â‚�-ₜℂℇℊ-â„“â„•â„™-â„�ℤΩℨK-ℭℯ-ℹℼ-â„¿â……-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞâ±
>  -ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ
> -ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-â·Žâ·�-â·–â·˜-ⷞⸯ々〆〱-〵〻〼ã��-ã‚–ã‚�-ã‚Ÿã‚¡-ヺー-ヿㄅ-ㄭㄱ-ㆎã†
>  -ㆺㇰ-ㇿã�€-䶵一-鿕ꀀ-ê’Œê“�-ꓽꔀ-ꘌê˜�-ꘟꘪꘫꙀ-ꙮꙿ-êš�êš 
> -ꛥꜗ-ꜟꜢ-ꞈꞋ-êž­êž°-ꞷꟷ-ê �ê ƒ-ê …ê ‡-ê Šê Œ-ê 
> ¢ê¡€-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲê§�ꧠ
> -ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ
> -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-�ꫠ
> -ꫪꫲ-ꫴ�-ꬆꬉ-ꬎꬑ-ꬖꬠ
> -ꬦꬨ-ꬮꬰ-ê­šê­œ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©­ï©°-龎ff-stﬓ-ﬗï¬�ײַ-ﬨשׁ-זּטּ-לּמּנּï­�ףּפּצּ-ﮱﯓ-ï´½ïµ�-ï¶�ﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Zï½�-zヲ-하-ᅦᅧ-ï¿�ï¿’-ï¿—ï¿š-ï¿œ0-9Ù
>  
> -Ù©Û°-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-à·¯à¹�-๙à»�-à»™à¼
>  -༩á�€-á�‰á‚�-႙០-៩á �-á 
> ™á¥†-á¥�á§�-᧙᪀-᪉áª�-᪙á­�-᭙᮰-᮹᱀-᱉á±�-᱙꘠
> -꘩ê£�-꣙꤀-꤉ê§�-꧙꧰-꧹ê©

RE: Fwd: How to generate swagger documentation

2020-10-14 Thread Dmitriy Brashevets
Hi Franchesco.

My fault.

I’m running Apache Syncope 2.1.6 instead of 2.0.16.
Sorry again for this typo.

Kind Regards,
Dmitriy Brashevets

From: Francesco Chicchiriccò 
Sent: Wednesday, October 14, 2020 10:27 AM
To: user@syncope.apache.org
Subject: Re: Fwd: How to generate swagger documentation

Hi Dmitriy,
I have just generated a new Syncope 2.0.16 project following

http://syncope.apache.org/docs/2.0/getting-started.html#create-project

then built via

mvn -Pall clean install

and finally run via

cd enduser
mvn -Pall,embedded

Swagger UI worked fine after accessing

http://localhost:9080/syncope/swagger/

and making some sample queries.

Coming to your issue, I would suggest first to check that you have been 
actually following

https://syncope.apache.org/docs/2.0/reference-guide.html#customization-core

and not

https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core

as you are writing below.

Secondly, try to access

[protocol]://[host]:[port]/syncope/rest/openapi.json

and see what result you get; naturally, watch the Core logs as well.

HTH
Regards.

On 13/10/20 16:39, Dmitriy Brashevets wrote:
Hi Apache Syncope guys.

What version of Apache Syncope are you running?
I’m trying to run the Apache Syncope 2.0.16 on Tomcat 9.0.39.
I’m able run the Apache Syncope Core and I also enabled Swagger extension like 
described 
here<https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core>,
 but when I’m accessing swagger I’m having an error:

Uncaught SyntaxError: Invalid regular expression: 
/[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-Ë�ˆ-Ë‘Ë 
-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-Ò�ÒŠ-Ô¯Ô±-Õ–Õ™Õ¡-Ö‡×�-תװ-×²Ø 
-يٮٯٱ-Û“Û•Û¥Û¦Û®Û¯Ûº-Û¼Û¿Ü�Ü’-ܯÝ�-ޥޱߊ-ßªß´ßµßºà €-à •à šà ¤à ¨à¡€-ࡘࢠ
-ࢴऄ-हऽà¥�क़-ॡॱ-ঀঅ-ঌà¦�à¦�ও-নপ-রলশ-হঽৎড়à§�য়-ৡৰৱਅ-ਊà¨�à¨�ਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-àª�àª�-ઑઓ-નપ-રલળવ-હઽà«�à«
 
ૡૹଅ-ଌà¬�à¬�ଓ-ନପ-ରଲଳଵ-ହଽଡ଼à­�à­Ÿ-ୡୱஃஅ-ஊஎ-à®�à®’-கஙசஜஞடணதந-பம-ஹà¯�à°…-ఌఎ-à°�à°’-నప-హఽౘ-ౚà±
 ౡಅ-ಌಎ-�ಒ-ನಪ-ಳವ-ಹಽೞೠ
ೡೱೲഅ-ഌഎ-à´�à´’-ഺഽൎൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-à·†à¸�-ะาำเ-ๆàº�ຂຄງຈຊàº�ດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿá��-á�•á�š-á��á�¡á�¥á�¦á�®-á�°á�µ-á‚�á‚Žá‚
 -ჅჇ��-ჺჼ-ቈቊ-��-ቖቘቚ-�በ
-ኈኊ-��-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-�ጒ-ጕጘ-�ᎀ-�Ꭰ
-á�µá�¸-á�½á��-ᙬᙯ-ᙿáš�-áššáš -ᛪᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱá�€-á�‘á� 
-á�¬á�®-á�°áž€-áž³áŸ—áŸœá  
-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞ�-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ
-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠ
ᮮᮯᮺ-ᯥᰀ-ᰣ�-�ᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-�ἠ
-ὅὈ-á½�á½�-ὗὙὛá½�Ὗ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-á¿Œá¿�-á¿“á¿–-á¿›á¿
 
-Ῥῲ-ῴῶ-ῼâ�±â�¿â‚�-ₜℂℇℊ-â„“â„•â„™-â„�ℤΩℨK-ℭℯ-ℹℼ-â„¿â……-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞâ±
 -ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ
-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-â·Žâ·�-â·–â·˜-ⷞⸯ々〆〱-〵〻〼ã��-ã‚–ã‚�-ã‚Ÿã‚¡-ヺー-ヿㄅ-ㄭㄱ-ㆎã†
 -ㆺㇰ-ㇿã�€-䶵一-鿕ꀀ-ê’Œê“�-ꓽꔀ-ꘌê˜�-ꘟꘪꘫꙀ-ꙮꙿ-êš�êš 
-ꛥꜗ-ꜟꜢ-ꞈꞋ-êž­êž°-ꞷꟷ-ê �ê ƒ-ê …ê ‡-ê Šê Œ-ê 
¢ê¡€-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ê¥†ê¥ -ꥼꦄ-ꦲê§�ê§ 
-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ê©‚ê©„-ê©‹ê© 
-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ê«�ê« 
-ꫪꫲ-ê«´ê¬�-ꬆꬉ-ꬎꬑ-ê¬–ê¬ 
-ꬦꬨ-ꬮꬰ-ê­šê­œ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©­ï©°-龎ff-stﬓ-ﬗï¬�ײַ-ﬨשׁ-זּטּ-לּמּנּï­�ףּפּצּ-ﮱﯓ-ï´½ïµ�-ï¶�ﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Zï½�-zヲ-하-ᅦᅧ-ï¿�ï¿’-ï¿—ï¿š-ï¿œ0-9Ù
 
-Ù©Û°-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-à·¯à¹�-๙à»�-à»™à¼
 -༩á�€-á�‰á‚�-႙០-៩á �-á 
™á¥†-á¥�á§�-᧙᪀-᪉áª�-᪙á­�-᭙᮰-᮹᱀-᱉á±�-á±™ê˜ 
-꘩ê£�-꣙꤀-꤉ê§�-꧙꧰-꧹ê©�-꩙꯰-꯹ï¼�-ï¼™.\-]*[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-Ë�ˆ-Ë‘Ë
 -ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-Ò�ÒŠ-Ô¯Ô±-Õ–Õ™Õ¡-Ö‡×�-תװ-×²Ø 
-يٮٯٱ-Û“Û•Û¥Û¦Û®Û¯Ûº-Û¼Û¿Ü�Ü’-ܯÝ�-ޥޱߊ-ßªß´ßµßºà €-à •à šà ¤à ¨à¡€-ࡘࢠ
-ࢴऄ-हऽà¥�क़-ॡॱ-ঀঅ-ঌà¦�à¦�ও-নপ-রলশ-হঽৎড়à§�য়-ৡৰৱਅ-ਊà¨�à¨�ਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-àª�àª�-ઑઓ-નપ-રલળવ-હઽà«�à«
 
ૡૹଅ-ଌà¬�à¬�ଓ-ନପ-ରଲଳଵ-ହଽଡ଼à­�à­Ÿ-ୡୱஃஅ-ஊஎ-à®�à®’-கஙசஜஞடணதந-பம-ஹà¯�à°…-ఌఎ-à°�à°’-నప-హఽౘ-ౚà±
 ౡಅ-ಌಎ-�ಒ-ನಪ-ಳವ-ಹಽೞೠ
ೡೱೲഅ-ഌഎ-à´�à´’-ഺഽൎൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-à·†à¸�-ะาำเ-ๆàº�ຂຄງຈຊàº�ດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿá��-á�•á�š-á��á�¡á�¥á�¦á�®-á�°á�µ-á‚�á‚Žá‚
 -ჅჇáƒ�áƒ�-ჺჼ-ቈቊ-á‰�á‰�-ቖቘá‰

Re: Fwd: How to generate swagger documentation

2020-10-14 Thread Francesco Chicchiriccò
 -ኈኊ-áŠ�áŠ�-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-áŒ�ጒ-ጕጘ-á�šáŽ€-áŽ�áŽ
>  -á�µá�¸-á�½á��-ᙬᙯ-ᙿáš�-áššáš -ᛪᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱá�€-á�‘á� 
> -��-�ក-ឳៗៜᠠ
> -ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞ�-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ
> -ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠ
> ᮮᮯᮺ-ᯥᰀ-ᰣ�-�ᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-�ἠ
> -ὅὈ-á½�á½�-ὗὙὛá½�Ὗ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-á¿Œá¿�-á¿“á¿–-á¿›á¿
>  
> -Ῥῲ-ῴῶ-ῼâ�±â�¿â‚�-ₜℂℇℊ-â„“â„•â„™-â„�ℤΩℨK-ℭℯ-ℹℼ-â„¿â……-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞâ±
>  -ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ
> -ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-â·Žâ·�-â·–â·˜-ⷞⸯ々〆〱-〵〻〼ã��-ã‚–ã‚�-ã‚Ÿã‚¡-ヺー-ヿㄅ-ㄭㄱ-ㆎã†
>  -ㆺㇰ-ㇿã�€-䶵一-鿕ꀀ-ê’Œê“�-ꓽꔀ-ꘌê˜�-ꘟꘪꘫꙀ-ꙮꙿ-êš�êš 
> -ꛥꜗ-ꜟꜢ-ꞈꞋ-êž­êž°-ꞷꟷ-ê �ê ƒ-ê …ê ‡-ê Šê Œ-ê 
> ¢ê¡€-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲê§�ꧠ
> -ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ
> -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-�ꫠ
> -ꫪꫲ-ꫴ�-ꬆꬉ-ꬎꬑ-ꬖꬠ
> -ꬦꬨ-ꬮꬰ-ê­šê­œ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-ï©­ï©°-龎ff-stﬓ-ﬗï¬�ײַ-ﬨשׁ-זּטּ-לּמּנּï­�ףּפּצּ-ﮱﯓ-ï´½ïµ�-ï¶�ﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Zï½�-zヲ-하-ᅦᅧ-ï¿�ï¿’-ï¿—ï¿š-ï¿œ0-9Ù
>  
> -Ù©Û°-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-à·¯à¹�-๙à»�-à»™à¼
>  -༩á�€-á�‰á‚�-႙០-៩á �-á 
> ™á¥†-á¥�á§�-᧙᪀-᪉áª�-᪙á­�-᭙᮰-᮹᱀-᱉á±�-᱙꘠
> -꘩�-꣙꤀-꤉�-꧙꧰-꧹�-꩙꯰-꯹�-9\-]/:
> Range out of order in character class
>
>     at new RegExp ()
>
>     at Object.r (Autolinker.js:1384)
>
>     at Object. (swagger-ui-bundle.js:133)
>
>     at n (bootstrap:19)
>
>     at Object. (linkify.js:11)
>
>     at n (bootstrap:19)
>
>     at Object. (parser_core.js:22)
>
>     at n (bootstrap:19)
>
>     at Object. (index.js:9)
>
>     at n (bootstrap:19)
>
> (index):1 Unchecked runtime.lastError: Could not establish connection. 
> Receiving end does not exist.
>
> (index):61 Uncaught ReferenceError: SwaggerUIBundle is not defined
>
>     at window.onload ((index):61)
>
>  
>
> Mapping for Swagger is working for 
> me[protocol]://[host]:[port]/syncope/swagger/
>
> But Swagger’s functionality doesn’t work.
> I’m still trying to figure out where is an issue.
>
>  
>
> Any ideas why this happens? Haven’t you faced with such an error?
>
> Kind Regards,
> Dmitriy Brashevets
>
>  
>
> *From:* Andrea Patricelli 
> *Sent:* Thursday, June 25, 2020 12:33 PM
> *To:* user@syncope.apache.org
> *Subject:* Re: Fwd: How to generate swagger documentation
>
>  
>
> Sorry, my bad.
> The correct swagger url is
>
> [protocol]://[host]:[port]/syncope/swagger/
>
> Best regards,
> Andrea
>
> Il 25/06/20 11:30, Andrea Patricelli ha scritto:
>
> Hi Anmol
>
> Il 24/06/20 18:22, Anmol Sharma ha scritto:
>
> Hi,
>
>  
>
> I'm a new user exploring the Maven project workflow for Apache 
> Syncope. I tried to use the `syncope-ext-swagger-ui` to generate the swagger 
> documentation.
>
>  
>
> When I run mvn clean package in the core module, I do not see 
> swagger-ui docs or config generated. I also ran the build with the `all` 
> profile but it did not notice any difference.
>
>  
>
> I'm wondering if you could point me to some documentation on how to 
> enable / generate swagger docs for a standalone deployment of the core module?
>
> Her you can find some docs about building Syncope in general [1]. To 
> enable the swagger extension please follow [2], "Enable the Swagger 
> extension" section. You can find swagger docs available at 
> [protocol]://[host]:[port]/syncope-swagger/
>
>  
>
> Thanks
>
> anmol
>
> HTH,
> Andrea
>
> [1] https://syncope.apache.org/building
>
> [2] 
> https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core
>
>  
>
>
>  
>
> -- 
>
> - Anmol 
>
> -- 
>
> Dott. Andrea Patricelli
>
> Tel. +39 3204524292
>
>  
>
> Engineer @ Tirasa S.r.l.
>
> Viale Vittoria Colonna 97 - 65127 Pescara
>
> Tel +39 0859116307 / FAX +39 085973
>
> http://www.tirasa.net
>
>  
>
> Apache Syncope PMC Member
>
> -- 
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>  
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 085973
> http://www.tirasa.net
>  
> Apache Syncope PMC Member


-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/



RE: Fwd: How to generate swagger documentation

2020-10-13 Thread Dmitriy Brashevets
€-stﬓ-ﬗï¬�ײַ-ﬨשׁ-זּטּ-לּמּנּï­�ףּפּצּ-ﮱﯓ-ï´½ïµ�-ï¶�ﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Zï½�-zヲ-하-ᅦᅧ-ï¿�ï¿’-ï¿—ï¿š-ï¿œ0-9Ù
 
-Ù©Û°-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-à·¯à¹�-๙à»�-à»™à¼
 -༩á�€-á�‰á‚�-႙០-៩á �-á 
™á¥†-á¥�á§�-᧙᪀-᪉áª�-᪙á­�-᭙᮰-᮹᱀-᱉á±�-á±™ê˜ 
-꘩�-꣙꤀-꤉�-꧙꧰-꧹�-꩙꯰-꯹�-9\-]/: Range out of order 
in character class
at new RegExp ()
at Object.r (Autolinker.js:1384)
at Object. (swagger-ui-bundle.js:133)
at n (bootstrap:19)
at Object. (linkify.js:11)
at n (bootstrap:19)
at Object. (parser_core.js:22)
at n (bootstrap:19)
at Object. (index.js:9)
at n (bootstrap:19)
(index):1 Unchecked runtime.lastError: Could not establish connection. 
Receiving end does not exist.
(index):61 Uncaught ReferenceError: SwaggerUIBundle is not defined
at window.onload ((index):61)


Mapping for Swagger is working for me[protocol]://[host]:[port]/syncope/swagger/
But Swagger’s functionality doesn’t work.
I’m still trying to figure out where is an issue.

Any ideas why this happens? Haven’t you faced with such an error?

Kind Regards,
Dmitriy Brashevets

From: Andrea Patricelli 
Sent: Thursday, June 25, 2020 12:33 PM
To: user@syncope.apache.org
Subject: Re: Fwd: How to generate swagger documentation


Sorry, my bad.
The correct swagger url is

[protocol]://[host]:[port]/syncope/swagger/

Best regards,
Andrea
Il 25/06/20 11:30, Andrea Patricelli ha scritto:

Hi Anmol
Il 24/06/20 18:22, Anmol Sharma ha scritto:
Hi,

I'm a new user exploring the Maven project workflow for Apache Syncope. I tried 
to use the `syncope-ext-swagger-ui` to generate the swagger documentation.

When I run mvn clean package in the core module, I do not see swagger-ui docs 
or config generated. I also ran the build with the `all` profile but it did not 
notice any difference.

I'm wondering if you could point me to some documentation on how to enable / 
generate swagger docs for a standalone deployment of the core module?
Her you can find some docs about building Syncope in general [1]. To enable the 
swagger extension please follow [2], "Enable the Swagger extension" section. 
You can find swagger docs available at 
[protocol]://[host]:[port]/syncope-swagger/


Thanks
anmol

HTH,
Andrea

[1] https://syncope.apache.org/building

[2] https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core



--
- Anmol

--

Dott. Andrea Patricelli

Tel. +39 3204524292



Engineer @ Tirasa S.r.l.

Viale Vittoria Colonna 97 - 65127 Pescara

Tel +39 0859116307 / FAX +39 085973

http://www.tirasa.net



Apache Syncope PMC Member

--

Dott. Andrea Patricelli

Tel. +39 3204524292



Engineer @ Tirasa S.r.l.

Viale Vittoria Colonna 97 - 65127 Pescara

Tel +39 0859116307 / FAX +39 085973

http://www.tirasa.net



Apache Syncope PMC Member


smime.p7s
Description: S/MIME cryptographic signature


Re: Fwd: How to generate swagger documentation

2020-06-25 Thread Andrea Patricelli

Sorry, my bad.
The correct swagger url is

[protocol]://[host]:[port]/syncope/swagger/

Best regards,
Andrea

Il 25/06/20 11:30, Andrea Patricelli ha scritto:


Hi Anmol

Il 24/06/20 18:22, Anmol Sharma ha scritto:

Hi,

I'm a new user exploring the Maven project workflow for Apache 
Syncope. I tried to use the `syncope-ext-swagger-ui` to generate the 
swagger documentation.


When I run mvn clean package in the core module, I do not see 
swagger-ui docs or config generated. I also ran the build with the 
`all` profile but it did not notice any difference.


I'm wondering if you could point me to some documentation on how to 
enable / generate swagger docs for a standalone deployment of the 
core module?
Her you can find some docs about building Syncope in general [1]. To 
enable the swagger extension please follow [2], "Enable the Swagger 
extension" section. You can find swagger docs available at 
[protocol]://[host]:[port]/syncope-swagger/


Thanks
anmol


HTH,
Andrea

[1] https://syncope.apache.org/building

[2] 
https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core





--
- Anmol

--
Dott. Andrea Patricelli
Tel. +39 3204524292

Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member


--
Dott. Andrea Patricelli
Tel. +39 3204524292

Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member



Re: Fwd: How to generate swagger documentation

2020-06-25 Thread Andrea Patricelli

Hi Anmol

Il 24/06/20 18:22, Anmol Sharma ha scritto:

Hi,

I'm a new user exploring the Maven project workflow for Apache 
Syncope. I tried to use the `syncope-ext-swagger-ui` to generate the 
swagger documentation.


When I run mvn clean package in the core module, I do not see 
swagger-ui docs or config generated. I also ran the build with the 
`all` profile but it did not notice any difference.


I'm wondering if you could point me to some documentation on how to 
enable / generate swagger docs for a standalone deployment of the core 
module?
Her you can find some docs about building Syncope in general [1]. To 
enable the swagger extension please follow [2], "Enable the Swagger 
extension" section. You can find swagger docs available at 
[protocol]://[host]:[port]/syncope-swagger/


Thanks
anmol


HTH,
Andrea

[1] https://syncope.apache.org/building

[2] 
https://syncope.apache.org/docs/2.1/reference-guide.html#customization-core





--
- Anmol


--
Dott. Andrea Patricelli
Tel. +39 3204524292

Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member



Fwd: How to generate swagger documentation

2020-06-24 Thread Anmol Sharma
Hi,

I'm a new user exploring the Maven project workflow for Apache Syncope. I
tried to use the `syncope-ext-swagger-ui` to generate the swagger
documentation.

When I run mvn clean package in the core module, I do not see swagger-ui
docs or config generated. I also ran the build with the `all` profile but
it did not notice any difference.

I'm wondering if you could point me to some documentation on how to enable
/ generate swagger docs for a standalone deployment of the core module?

Thanks
anmol



-- 
- Anmol