diff --git a/samples/swagger-static-docs/docs/assets/images/logo.png b/samples/swagger-static-docs/docs/assets/images/logo.png index 209e5a473f..7a217967d0 100644 Binary files a/samples/swagger-static-docs/docs/assets/images/logo.png and b/samples/swagger-static-docs/docs/assets/images/logo.png differ diff --git a/samples/swagger-static-docs/docs/index.html b/samples/swagger-static-docs/docs/index.html index 77c3f5b702..2c8d293d2c 100644 --- a/samples/swagger-static-docs/docs/index.html +++ b/samples/swagger-static-docs/docs/index.html @@ -29,48 +29,77 @@
  • Getting Started
  • -
    -
    - UserApi -
    - -
    -
    -
    - PetApi -
    - -
    + +
    StoreApi
    + +
  • getOrderById
  • + +
  • deleteOrder
  • + + +
    + +
    +
    + PetApi +
    +
    + +
    +
    + UserApi +
    + +
    + + +

    Getting Started

    @@ -80,4 +109,4 @@
    - + \ No newline at end of file diff --git a/samples/swagger-static-docs/docs/models/Category.html b/samples/swagger-static-docs/docs/models/Category.html index 7917b84c82..52e04b2072 100644 --- a/samples/swagger-static-docs/docs/models/Category.html +++ b/samples/swagger-static-docs/docs/models/Category.html @@ -1,12 +1,15 @@ +

    Category

    - - +

    deleteOrder


    -

    For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors

    URL

    - http://petstore.swagger.wordnik.com/api/store/order/{orderId} +

    For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors

    +

    URL

    + /store/order/{orderId}

    HTTP Method

    DELETE

    Response Type

    -
    +

    Parameters

    -

    placeOrder

    -
    -

    -

    URL

    - http://petstore.swagger.wordnik.com/api/store/order -

    HTTP Method

    - POST -

    Response Type

    -
    -

    Parameters

    - - + + + + + \ No newline at end of file diff --git a/samples/swagger-static-docs/docs/operations/UserApi.html b/samples/swagger-static-docs/docs/operations/UserApi.html index addb63e489..1c8fecf597 100644 --- a/samples/swagger-static-docs/docs/operations/UserApi.html +++ b/samples/swagger-static-docs/docs/operations/UserApi.html @@ -1,155 +1,191 @@
    -

    UserApi

    -

    This is the UserApi API

    +

    +

    This is the API

    -

    updateUser

    + + +

    createUser


    -

    This can only be done by the logged in user.

    URL

    - http://petstore.swagger.wordnik.com/api/user/{username} +

    This can only be done by the logged in user.

    +

    URL

    + /user

    HTTP Method

    - PUT + POST

    Response Type

    -
    +

    Parameters

    -

    deleteUser

    + + + +

    createUsersWithArrayInput


    -

    This can only be done by the logged in user.

    URL

    - http://petstore.swagger.wordnik.com/api/user/{username} +

    +

    URL

    + /user/createWithArray

    HTTP Method

    - DELETE + POST

    Response Type

    -
    +

    Parameters

    + + + +

    createUsersWithListInput

    +
    +

    +

    +

    URL

    + /user/createWithList +

    HTTP Method

    + POST +

    Response Type

    +
    +

    Parameters

    +
    + + + +

    loginUser

    +
    +

    +

    +

    URL

    + /user/login +

    HTTP Method

    + GET +

    Response Type

    +
    String
    +

    Parameters

    + + +

    logoutUser

    +
    +

    +

    +

    URL

    + /user/logout +

    HTTP Method

    + GET +

    Response Type

    +
    +

    Parameters

    + +

    getUserByName


    -

    URL

    - http://petstore.swagger.wordnik.com/api/user/{username} +

    +

    URL

    + /user/{username}

    HTTP Method

    GET

    Response Type

    User

    Parameters

    -

    loginUser

    + + + +

    updateUser


    -

    URL

    - http://petstore.swagger.wordnik.com/api/user/login +

    This can only be done by the logged in user.

    +

    URL

    + /user/{username}

    HTTP Method

    - GET + PUT

    Response Type

    -
    string
    +

    Parameters

    -

    logoutUser

    + + + +

    deleteUser


    -

    URL

    - http://petstore.swagger.wordnik.com/api/user/logout +

    This can only be done by the logged in user.

    +

    URL

    + /user/{username}

    HTTP Method

    - GET + DELETE

    Response Type

    -
    +

    Parameters

    -

    createUser

    -
    -

    -

    This can only be done by the logged in user.

    URL

    - http://petstore.swagger.wordnik.com/api/user -

    HTTP Method

    - POST -

    Response Type

    -
    -

    Parameters

    - -

    createUsersWithArrayInput

    -
    -

    -

    URL

    - http://petstore.swagger.wordnik.com/api/user/createWithArray -

    HTTP Method

    - POST -

    Response Type

    -
    -

    Parameters

    - -

    createUsersWithListInput

    -
    -

    -

    URL

    - http://petstore.swagger.wordnik.com/api/user/createWithList -

    HTTP Method

    - POST -

    Response Type

    -
    -

    Parameters

    - - + + + + + \ No newline at end of file diff --git a/samples/swagger-static-docs/main.js b/samples/swagger-static-docs/main.js index 06c3995110..45a7221546 100644 --- a/samples/swagger-static-docs/main.js +++ b/samples/swagger-static-docs/main.js @@ -5,4 +5,3 @@ var docs_handler = express.static(__dirname + '/docs/'); app.use(docs_handler); // start the server app.listen(8002); - diff --git a/samples/swagger-static-docs/package.json b/samples/swagger-static-docs/package.json index a24f93457a..d728e9f006 100644 --- a/samples/swagger-static-docs/package.json +++ b/samples/swagger-static-docs/package.json @@ -10,4 +10,3 @@ }, "license": "apache 2.0" } -