Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Gemnasium API documentation
# Gemnasium REST API v3 documentation

This repo host the Gemnasium API documentation.
## Start swagger on localhost

The documentation is currently written with the [API Blueprint](http://apiblueprint.org/) format and is available on [Apiary.io](http://docs.gemnasium.apiary.io/).
```
$ docker-compose up -d
$ echo -e "\nBrowse to http://`docker-compose port swagger 8080`\n"

Browse to http://0.0.0.0:32782

```
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: '2'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you know this version is deprecated? :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

services:
swagger:
image: swaggerapi/swagger-ui:latest
environment:
API_URL: openapi3.yaml
ports:
- 8080
volumes:
- ./openapi3.yaml:/usr/share/nginx/html/openapi3.yaml