rapi-doc / RapiDoc

RapiDoc -WebComponent for OpenAPI Spec
https://rapidocweb.com
MIT License
1.71k stars 285 forks source link

Pros and cons between Swagger UI, Redoc, RapiDoc #141

Open baboonmaj opened 4 years ago

baboonmaj commented 4 years ago

Thank you for providing us with this great library. This one truly deserves to be at the top of the stack compared to Swagger UI and Redoc.

However this is just my opinion from the limited research I did. Our's is a big organization and deals with multiple micro-service architecture. When we compared RapiDoc, Swagger UI and Redoc. RapiDoc became an obvious choice based on the feature-sets, theming-support, user-interface and its API layer that feels very natural to program with.

Yet I am surprised why does it have so less adaptation rate. It has very less github-stars, npm-downloads and dont even get mentioned in any of the blogs ?

If you can put up a comparison set somewhere then I think it will help others to pick up the right tool for their work. I am specially looking for where RapiDoc might not fare that well compared to Swagger and Redoc

Jeegen commented 4 years ago

@baboonmaj

Hello, how to use RapiDoc Can You Provide brief details.

baboonmaj commented 4 years ago

@Jeegen you may checkout their examples provided at https://rapidocweb.com/examples

dcarr178 commented 4 years ago

I compared these components a few months ago and am happy to share my research here. In the end I chose Rapidoc in part because it is awesome and in part because I thought I could fix the parts I didn't like and submit my work back to the community.

Rapidoc

Swagger UI

Redoc

mrin9 commented 4 years ago

thanks @dcarr178 for the points and your contributions

We do conduct a lot of surveys/feedback from a very large set of users with our sponsoring organizations, but I am not allowed to share my sponsors name or their customer surveys in the open-source section

I will leave this issue open for a while, for our open-source community to provide their feedback

elipinska commented 4 years ago

During my search for a quality OpenAPI definition renderer, I’ve given both Redoc and RapiDoc a spin -- here are the results of my comparison (spoiler alert: RapiDoc was the winner for me):

RapiDoc

Advantages

Disadvantages

Redoc

Advantages

Disadvantages

mrin9 commented 4 years ago

thanks @elipinska for proving us with your detailed research.

prashantevolvus commented 4 years ago

We tried various different OpenAPI documentation rendered both open source and the commercial ones that allowed free trial. Started with Swagger.

  1. Doc layout is not very intutive and not very attractive
  2. Setting it up is not tough but not easy either.
  3. No support for x-code. Though we use editor.swagger.io for building the openapi doc

Then tried DapperDox

  1. It has a clean interface
  2. But has a baggage of Golang web modules so deployment and maintenance is tad tougher

Then bunch of other options.

Then Redoc

  1. Beautiful interface and very user friendly.
  2. Once you get used to that 3 column interface you really appreciate the less clutter. But as @elipinska pointed out in a hand held device usability is a challenge.
  3. Easy deployment - just include the JS in your html and it all comes up magically It had everything going except for a big show stopper - there is no "Try me" We moved to redoc.ly (trial version) It is redoc + try me + bunch of stuff for a subscription fee.

Just before were deciding on Redocly we chanced upon RapiDoc. I think RapiDoc has everything that you may ever need. Flexibility, clean and intuitive interface, easy to deploy, very good documentation and examples. It is a clear winner.

I would like to thank the team for this wonderful contribution.

mrin9 commented 3 years ago

We have been working hard on RapiDoc to further improve upon our User Experience. We have added many more features since the above feedback we received - I have created RapiDoc's Feature Listing in #428 - This may be useful for people looking for quick analysis while they decide on picking up an OpenAPI renderer for their use case

technicaltitch commented 3 years ago

I wanted to add a very important and often overlooked advantage to RapiDoc, and that is accessibility. I evaluated Swagger, Redoc, Slate and RapiDoc using webaim.org, and RapiDoc raised far fewer warnings than any of the others (Slate came closest). This is a moral imperative, and increasingly mandatory for many clients especially when the payer is governmental. (And often compliance doesn't come along until the end of a project, by which time chaos ensues.)

francipvb commented 3 years ago

Hello all,

What about OpenIDConnect?

Thanks!

dmytro-samodurov-ag commented 2 years ago

Great layout and rendering customization is one of the advantages of RapiDoc. Thank you! It is currently the choice for documenting our api.

Are there plans to move RapiDoc customizations further? e.g. Ability to render Components section and its items selectively in the "read" mode?

Layap commented 2 years ago

Do we have the support of external CSS and JS in case of ReDoc as we have in RapiDoc? Thanks!

WilliamStam commented 2 years ago

ive never liked the look of swagger-ui. its actually 1 of the reasons ive stayed away from api work in general cause they all need to be documented and swagger... yeah.. no... but i didnt have a choice this time round. i ended up doing around ~1000 lines of css to try make swagger ui less of a pain.. but then just gave up. and somehow rapidoc came up (cant recall now how tho but it was by chance), to be honest, this is 1 AMAZING project. just about everything ive thought "hmm that could be nice" is already implemented, and the WAY its implemented... at the dev... i take my hat off. its been a while since ive been truly impressed with something the same way. with the formalities out of the way (the soppy soppy had to be said!):

i think maybe the reason it hasnt gone more widespread has to do with the name. when going through the list of openapi.tools i dont think i would have even clicked on rapidoc unless i went through each individually. the project (in total, everything including the docs) is soooooo good it should be the defacto standard but somehow it isnt, and i dont understand why... no one ive spoken to has even heard of it till now.

swagger-ui is just out. no use even comparing the 2.

things i would like to have in rapidoc:

<3

KomalYadav10796 commented 1 year ago

Hello @prassie @mrin9 , We're experiencing issues with Redocly. We are receiving null responses for some of the variables. We're using the same code and swagger schema everywhere, but it's not working in some places while getting responses from body. As shown in the screenshots.

swaggerschema issue

Could you please help me with this? Thanks!

prassie commented 1 year ago

For somebody who checks on this thread to know the advantages of RapiDoc, here's an example which demonstrates the various options in RapiDoc: https://rapidocweb.com/examples/api-demo.html

sandeep-kr-yadav commented 1 year ago

Ask: Is it currently possible to have the following as of today? Attribute name: "userIds" type: array

As of today we need to pass the values in text box.

To improve the user experience, if we could allow users to just skip the [ ] in the request and allow them to just click on add item button and then the values can be filled in, which can then be translated to [ "",""] in CURL command in Try out panel