#1 2023-01-31 20:42:05

Vitaly
Member
From: UAE
Registered: 2017-01-31
Posts: 168
Website

Swagger template for mORMot2

Greetings!

I became a newbie in the newest mORMot, and I'm currently really interested in understanding if the Swagger template is somehow supported already in mORMot2?

---
Seems much is done for mORMot2 and it is almost out for full release. Incredible work!!
And I do disagree with "Too much material was killing the documentation, so user reported..." smile
Glad to return to the forum after some absence wink

Offline

#2 2023-02-01 08:22:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: Swagger template for mORMot2

You can use the mORMot 1 templates but there was still some issue about record SOA wrapper generation.

Offline

#3 2024-02-06 07:46:02

Basti-Fantasti
Member
Registered: 2024-01-22
Posts: 9

Re: Swagger template for mORMot2

As this topic is now a bit older I thought I bring it up again.

Is there an update on the current Swagger usage in the mORMot 2 framework or an example showing on how to integrate it?

Offline

#4 2024-02-06 08:13:14

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: Swagger template for mORMot2

Sadly, not yet.

There is currently some bugs to fix on the SOA code generation.
https://github.com/synopse/mORMot2/issues/217

But the previous Swagger template from mORMot 1 should still work for most simple cases.

Offline

Board footer

Powered by FluxBB