diff --git a/modules/swagger-codegen/src/main/resources/swagger-static/operation.mustache b/modules/swagger-codegen/src/main/resources/swagger-static/operation.mustache index c2c70aa906d..bd7b7444c8f 100644 --- a/modules/swagger-codegen/src/main/resources/swagger-static/operation.mustache +++ b/modules/swagger-codegen/src/main/resources/swagger-static/operation.mustache @@ -23,7 +23,7 @@ {{#isPathParam}}Path: {{/isPathParam}} {{#isHeaderParam}}Header: {{/isHeaderParam}} {{#isBodyParam}}Body: {{/isBodyParam}} - {{paramName}} + {{baseName}} {{dataType}}{{#baseType}}({{baseType}}){{/baseType}} {{#optional}}(optional){{/optional}}

{{description}}

diff --git a/samples/dynamic-html/docs/index.html b/samples/dynamic-html/docs/index.html index 1b7ba98febb..22ed5d50b68 100644 --- a/samples/dynamic-html/docs/index.html +++ b/samples/dynamic-html/docs/index.html @@ -58,25 +58,6 @@ -
-
- StoreApi -
- -
-
PetApi @@ -104,6 +85,25 @@
+
+
+ StoreApi +
+ +
+
diff --git a/samples/dynamic-html/docs/operations/PetApi.html b/samples/dynamic-html/docs/operations/PetApi.html index 0c7bb8bd189..08e1cd1d42c 100644 --- a/samples/dynamic-html/docs/operations/PetApi.html +++ b/samples/dynamic-html/docs/operations/PetApi.html @@ -206,18 +206,6 @@
  • - - Header: - - apiKey - String - -

    -
  • - -
  • - - Path: @@ -227,6 +215,18 @@

    Pet id to delete

  • +
  • + + + + Header: + + api_key + String + +

    +
  • +

    uploadFile

    diff --git a/samples/dynamic-html/docs/operations/UserApi.html b/samples/dynamic-html/docs/operations/UserApi.html index f3af4dcaa76..8639fdfbf9f 100644 --- a/samples/dynamic-html/docs/operations/UserApi.html +++ b/samples/dynamic-html/docs/operations/UserApi.html @@ -161,7 +161,7 @@ username String -

    The name that needs to be fetched. Use user1 for testing.

    +

    The name that needs to be fetched. Use user1 for testing.