Forum Discussion

thor's avatar
New Contributor
5 years ago

Basic Swagger Question

Basic Swagger Question


"Getting Started with Swagger" should be the right subject to this post too ... but I did not find the answes to my questions in the other thread...
With PHP we developed a REST - API and want to provide a documentation. The API is not that complex. Only a few controllers.
Our data:

$ sudo node -v
[sudo] password for myuser:
$ sudo npm -v
$ sudo lsb_release -a
[sudo] password for johann:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

I downloaded swagger like so:

git clone swagger-editor-doc

So I can play around with a documentation vai the editor on my own server:

But where can I see the documentation (like this one : )
on my own server ?

Can you get me started on how to create my first own docu ?
What are the steps ? Prerequisits Do I need other versions ofe npm etc. ?

Can I edit it manually in the swagger-editor or does swagger generate it from the
source code?

Thanks a lot



No RepliesBe the first to reply