diff --git a/bin/windows/html2-petstore.bat b/bin/windows/html2-petstore.bat new file mode 100644 index 00000000000..42dca617c8a --- /dev/null +++ b/bin/windows/html2-petstore.bat @@ -0,0 +1,10 @@ +set executable=.\modules\swagger-codegen-cli\target\swagger-codegen-cli.jar + +If Not Exist %executable% ( + mvn clean package +) + +REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties +set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l html2 -o samples\html2 + +java %JAVA_OPTS% -jar %executable% %ags% diff --git a/modules/swagger-codegen/src/main/resources/htmlDocs2/index.mustache b/modules/swagger-codegen/src/main/resources/htmlDocs2/index.mustache index c07ed7ca1e1..c65ca350268 100644 --- a/modules/swagger-codegen/src/main/resources/htmlDocs2/index.mustache +++ b/modules/swagger-codegen/src/main/resources/htmlDocs2/index.mustache @@ -216,6 +216,7 @@ function loadGoogleFontCss() {

{{nickname}}

+

{{summary}}

diff --git a/samples/html2/index.html b/samples/html2/index.html index 38c4970ed5e..f454250971e 100644 --- a/samples/html2/index.html +++ b/samples/html2/index.html @@ -997,6 +997,7 @@

Pet

addPet

+

Add a new pet to the store

@@ -1393,6 +1394,7 @@

Status: 405 - Invalid input

deletePet

+

Deletes a pet

@@ -1828,6 +1830,7 @@

Status: 400 - Invalid pet value

findPetsByStatus

+

Finds Pets by status

@@ -2307,6 +2310,7 @@

Status: 400 - Invalid status value

findPetsByTags

+

Finds Pets by tags

@@ -2784,6 +2788,7 @@

Status: 400 - Invalid tag value

getPetById

+

Find pet by ID

@@ -3341,6 +3346,7 @@

Status: 404 - Pet not found

updatePet

+

Update an existing pet

@@ -3889,6 +3895,7 @@

Status: 405 - Validation exception

updatePetWithForm

+

Updates a pet in the store with form data

@@ -4290,6 +4297,7 @@

Status: 405 - Invalid input

uploadFile

+

uploads an image

@@ -4705,6 +4713,7 @@

Store

deleteOrder

+

Delete purchase order by ID

@@ -5145,6 +5154,7 @@

Status: 404 - Order not found

getInventory

+

Returns pet inventories by status

@@ -5504,6 +5514,7 @@

Status: 200 - successful operation

getOrderById

+

Find purchase order by ID

@@ -6032,6 +6043,7 @@

Status: 404 - Order not found

placeOrder

+

Place an order for a pet

@@ -6497,6 +6509,7 @@

User

createUser

+

Create user

@@ -6872,6 +6885,7 @@

Status: 0 - successful operation

createUsersWithArrayInput

+

Creates list of users with given input array

@@ -7250,6 +7264,7 @@

Status: 0 - successful operation

createUsersWithListInput

+

Creates list of users with given input array

@@ -7628,6 +7643,7 @@

Status: 0 - successful operation

deleteUser

+

Delete user

@@ -8067,6 +8083,7 @@

Status: 404 - User not found

getUserByName

+

Get user by user name

@@ -8592,6 +8609,7 @@

Status: 404 - User not found

loginUser

+

Logs user into the system

@@ -9094,6 +9112,7 @@

Status: 400 - Invalid username/password supplied

logoutUser

+

Logs out current logged in user session

@@ -9408,6 +9427,7 @@

Status: 0 - successful operation

updateUser

+

Updated user

@@ -9921,7 +9941,7 @@

Status: 404 - User not found

- Generated 2016-10-13T09:03:51.792-07:00 + Generated 2016-10-17T21:36:47.443+11:00