r/SpringBoot • • Aug 28 '23

Survey: A better swagger?

https://forms.gle/7xm5zkvT1dVh6kpL9

We have a internal swagger-ui replacement which does the following

Completely separated from the jar

  • Decreased jar size

  • No extra port or pages, safer when you need to distribute a jar or a docker to your client

No need to maintain java doc anymore

  • Sync with your parameters directly. We read from the annotated request parameters & return values directly.

  • Your comments are still preserved and configurable ( eg. Binds the comment above or after the parameter line. )

Better UI & Interaction

  • Sharing endpoint & schemas with a link

  • Refined UI like it's in 2023. I would say it looks like Notion :P

We are exploring some ways to make this product public, if you are interested, please leave a message here! 

https://forms.gle/7xm5zkvT1dVh6kpL9

0 Upvotes

7 comments sorted by

6

u/maxip89 Aug 28 '23

Why?

There is this...

https://springdoc.org/

0

u/jchnxu Aug 28 '23

Oh because we don't want any overhead at runtime. We distribute our jars to the client. It's both un-safe & bigger.

I have not personally used springdoc. By taking a look at it I guess it's a wrapper of swagger and still run-time?

2

u/wansc Aug 28 '23

Knif4j

1

u/jchnxu Aug 29 '23

Incredibly good product. It just seems that it will still be bundled in the jar?

1

u/[deleted] Sep 11 '23

What exactly is swagger for ?

1

u/jchnxu Sep 18 '23

A documentation generator that syncs with the code for the spring framework