Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Generating documentation for APIs #168

Open
PeterAltamirano opened this issue Jul 14, 2018 · 5 comments
Open

Generating documentation for APIs #168

PeterAltamirano opened this issue Jul 14, 2018 · 5 comments
Labels
discussion this is/requires discussion

Comments

@PeterAltamirano
Copy link

Using Swagger UI to generate API documentation might be useful in generator in the case we have custom build backend / CMS.

Swagger UI: https://swagger.io/tools/swagger-ui/
Github: https://github.com/swagger-api/swagger-ui
Demo: http://petstore.swagger.io

@PeterAltamirano PeterAltamirano added the discussion this is/requires discussion label Jul 14, 2018
@n0wak
Copy link
Member

n0wak commented Jul 16, 2018

@PeterAltamirano Swagger.io is only free for OS projects otherwise you have to pay.

@PeterAltamirano
Copy link
Author

@n0wak Can you elaborate? I looked at Swagger UI, seems open source to me, with Apache license: https://github.com/swagger-api/swagger-ui/blob/master/LICENSE

Their landing says: "Swagger UI allows anyone — be it your development team or your end consumers" and I don't see explicit pricing.

@neo
Copy link
Member

neo commented Jul 16, 2018

I think it would be suitable for projects with long term maintenance plan and multiple endpoints. Otherwise it might be an overkill and cost extra time maintaining.
I believed we somewhat used it in unboxed.

@PeterAltamirano
Copy link
Author

Yea, what we discussed with Iran, maybe this shouldn't be directly part of the generator, maybe more linked to our WP VIP or oder Docker skeletons. I will move ticket when suitable, but this is good platform to discuss. As in the same time we might have 3rd party doing custom API or something. And mostly FE devs use that docs.

What you think guys?

@n0wak
Copy link
Member

n0wak commented Jul 16, 2018

@PeterAltamirano Ah sorry, I thought you meant swagger.io the service (w/ hosting) rather than their tooling.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
discussion this is/requires discussion
Projects
None yet
Development

No branches or pull requests

3 participants