mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
documentation on how to use swagger
This commit is contained in:
parent
e9b3b25b64
commit
6a24ce5d10
13
doc/README.Swagger
Normal file
13
doc/README.Swagger
Normal file
|
@ -0,0 +1,13 @@
|
|||
Swagger
|
||||
========
|
||||
|
||||
Swagger is used to describe a rest api. SeedDMS ships a swagger.yaml file
|
||||
in the restapi directory. You can load this file into a swagger editor, e.g.
|
||||
http://petstore.swagger.io/ or http://editor.swagger.io/
|
||||
You may as well set up your own swagger-ui installation as described at
|
||||
https://medium.com/@tatianaensslin/how-to-add-swagger-ui-to-php-server-code-f1610c01dc03
|
||||
|
||||
Your apache needs to have the module 'header' enabled, because some HTTP headers
|
||||
are set when the file swagger.yaml is accessed by the editor.
|
||||
|
||||
Currently, the swagger.yaml shipped with SeedDMS uses still swagger 2.0
|
Loading…
Reference in New Issue
Block a user