Rocket: Any plans to support Swagger?

Created on 28 Feb 2017  路  2Comments  路  Source: SergioBenitez/Rocket

Having implemented a small API service in Rocket, it would be very nice to have templating support via Swagger for a larger implementation. Thanks!

declined request

Most helpful comment

I think this makes the most sense in its own crate that would support many frameworks, including Rocket.

There is a very basic implementation of swagger in rustless. I would think that an interested party's first step would be generalizing that into its own swagger crate and have it work with both rustless and Rocket.

All 2 comments

I think this makes the most sense in its own crate that would support many frameworks, including Rocket.

There is a very basic implementation of swagger in rustless. I would think that an interested party's first step would be generalizing that into its own swagger crate and have it work with both rustless and Rocket.

While I don't think swagger is something that Rocket should support internally, I _do_ think Rocket should expose all of the information necessary to implement swagger support externally. To that end, if someone wants to implement swagger support for Rocket, I'm happy to work with them to ensure that Rocket exposes all of the necessary information.

For these reasons, I'm closing this issue. Looking forward to working with anyone who wants to implement this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulvt picture paulvt  路  4Comments

klnusbaum picture klnusbaum  路  4Comments

Perseus101 picture Perseus101  路  4Comments

loothood picture loothood  路  4Comments

shssoichiro picture shssoichiro  路  4Comments