delphimvcframework/lib/swagdoc/Deploy
2023-02-27 12:33:00 +01:00
..
favicon-16x16.png Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
favicon-32x32.png Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
index.html Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
oauth2-redirect.html Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
readme.txt Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
swagger-ui-bundle.js Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
swagger-ui-bundle.js.map Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
swagger-ui-standalone-preset.js Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
swagger-ui-standalone-preset.js.map Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
swagger-ui.css Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
swagger-ui.css.map Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
swagger-ui.js Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
swagger-ui.js.map Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00
swagger.json Merge commit '7d894121523288f1fd1ed1fc3f2b8bb9e4736893' as 'lib/swagdoc' 2023-02-27 12:33:00 +01:00

When creating a Swagger documentation for your REST API you can produce a page like the following example.

![image](https://user-images.githubusercontent.com/20048296/39936694-a4d9ac9a-5523-11e8-8161-98d0e396eb6f.png)
http://petstore.swagger.io


For you to produce a page containing a Swagger documentation you need the Swagger UI distribution files.

These files you can find in the github swagger-api / swagger-ui repository.

https://github.com/swagger-api/swagger-ui/tree/master/dist

![image](https://user-images.githubusercontent.com/20048296/39937130-2925f868-5525-11e8-921d-c9ff0f59fefd.png)


First you need to download the swagger user interface files and generate the swagger.json file. You then need to change the index.html file to indicate the relative path of the location where the swagger.json file is located on your web server that is hosting the swagger user interface files.

See an example below.

![image](https://user-images.githubusercontent.com/20048296/39946376-49ad0df0-5544-11e8-8a5c-0980f5e6c257.png)