diff --git a/Dockerfile b/Dockerfile index b6172247..cde62882 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,6 @@ RUN mkdir -p /run/nginx COPY nginx.conf /etc/nginx/ # copy swagger files to the `/js` folder -ADD ./public/* /usr/share/nginx/html/ ADD ./dist/* /usr/share/nginx/html/ EXPOSE 8080 diff --git a/README.md b/README.md index 8858ab0a..15ffc2aa 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ The OpenAPI Specification has undergone 4 revisions since initial creation in 20 Swagger UI Version | Release Date | OpenAPI Spec compatibility | Notes | Status ------------------ | ------------ | -------------------------- | ----- | ------ -3.0.4 | 2017-03-19 | 2.0 | [tag v3.0.4](https://github.com/swagger-api/swagger-ui/tree/v3.0.4) | +3.0.5 | 2017-03-19 | 2.0 | [tag v3.0.5](https://github.com/swagger-api/swagger-ui/tree/v3.0.5) | 2.2.10 | 2017-01-04 | 1.1, 1.2, 2.0 | [tag v2.2.10](https://github.com/swagger-api/swagger-ui/tree/v2.2.10) | 2.1.5 | 2016-07-20 | 1.1, 1.2, 2.0 | [tag v2.1.5](https://github.com/swagger-api/swagger-ui/tree/v2.1.5) | 2.0.24 | 2014-09-12 | 1.1, 1.2 | [tag v2.0.24](https://github.com/swagger-api/swagger-ui/tree/v2.0.24) | @@ -39,7 +39,7 @@ Will start nginx with swagger-ui on port 80. - Node 6.x - NPM 3.x -If you just want to see your specs, open `public/index.html` in your browser directly from your filesystem. +If you just want to see your specs, open `dist/index.html` in your browser directly from your filesystem. If you'd like to make modifications to the codebase, run the dev server with: `npm run dev`. diff --git a/composer.json b/composer.json new file mode 100644 index 00000000..76288f67 --- /dev/null +++ b/composer.json @@ -0,0 +1,40 @@ +{ + "name": "swagger-api/swagger-ui", + "description": " Swagger UI is a collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.", + "keywords": [ + "Swagger", + "OpenAPI", + "specification", + "documentation", + "API", + "UI" + ], + "homepage": "http://swagger.io", + "license": "Apache-2.0", + "authors": [ + { + "name": "Anna Bodnia", + "email": "anna.bodnia@gmail.com" + }, + { + "name": "Buu Nguyen", + "email": "buunguyen@gmail.com" + }, + { + "name": "Josh Ponelat", + "email": "jponelat@gmail.com" + }, + { + "name": "Kyle Shockey", + "email": "kyleshockey1@gmail.com" + }, + { + "name": "Robert Barnwell", + "email": "robert@robertismy.name" + }, + { + "name": "Sahar Jafari", + "email": "shr.jafari@gmail.com" + } + ] +} diff --git a/dev-helpers/index.html b/dev-helpers/index.html index b19ccd34..83a671ca 100644 --- a/dev-helpers/index.html +++ b/dev-helpers/index.html @@ -6,8 +6,8 @@