diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/MarkdownDocumentationCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/MarkdownDocumentationCodegen.java
index 0e4ad861cb3..7eb20048fee 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/MarkdownDocumentationCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/MarkdownDocumentationCodegen.java
@@ -110,4 +110,17 @@ public class MarkdownDocumentationCodegen extends DefaultCodegen implements Code
@Override
public GeneratorLanguage generatorLanguage() { return null; }
+
+ @Override
+ public String escapeUnsafeCharacters(String input) {
+ // do nothing as the output is just doc
+ return input;
+ }
+
+ @Override
+ public String escapeQuotationMark(String input) {
+ // do nothing as the output is just doc
+ return input;
+ }
+
}
diff --git a/samples/documentation/markdown/.openapi-generator/FILES b/samples/documentation/markdown/.openapi-generator/FILES
index 53bf49ac0cf..19e7a13dff0 100644
--- a/samples/documentation/markdown/.openapi-generator/FILES
+++ b/samples/documentation/markdown/.openapi-generator/FILES
@@ -3,8 +3,6 @@ Apis/StoreApi.md
Apis/UserApi.md
Models/ApiResponse.md
Models/Category.md
-Models/InlineObject.md
-Models/InlineObject1.md
Models/Order.md
Models/Pet.md
Models/Tag.md
diff --git a/samples/documentation/markdown/.openapi-generator/VERSION b/samples/documentation/markdown/.openapi-generator/VERSION
index d99e7162d01..66672d4e9d3 100644
--- a/samples/documentation/markdown/.openapi-generator/VERSION
+++ b/samples/documentation/markdown/.openapi-generator/VERSION
@@ -1 +1 @@
-5.0.0-SNAPSHOT
\ No newline at end of file
+6.1.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/documentation/markdown/Apis/PetApi.md b/samples/documentation/markdown/Apis/PetApi.md
index 7a8543f056a..86022b308ef 100644
--- a/samples/documentation/markdown/Apis/PetApi.md
+++ b/samples/documentation/markdown/Apis/PetApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
-[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
-[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
-[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
-[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
-[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
-[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
-[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
@@ -20,11 +20,13 @@ Method | HTTP request | Description
Add a new pet to the store
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **Pet** | [**Pet**](../Models/Pet.md)| Pet object that needs to be added to the store |
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **Pet** | [**Pet**](../Models/Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -45,12 +47,14 @@ Name | Type | Description | Notes
Deletes a pet
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **Long**| Pet id to delete | [default to null]
- **api\_key** | **String**| | [optional] [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **petId** | **Long**| Pet id to delete | [default to null] |
+| **api\_key** | **String**| | [optional] [default to null] |
### Return type
@@ -75,9 +79,9 @@ Finds Pets by status
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **status** | [**List**](../Models/String.md)| Status values that need to be considered for filter | [default to null] [enum: available, pending, sold]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **status** | [**List**](../Models/String.md)| Status values that need to be considered for filter | [default to null] [enum: available, pending, sold] |
### Return type
@@ -102,9 +106,9 @@ Finds Pets by tags
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **tags** | [**List**](../Models/String.md)| Tags to filter by | [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tags** | [**List**](../Models/String.md)| Tags to filter by | [default to null] |
### Return type
@@ -129,9 +133,9 @@ Find pet by ID
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **Long**| ID of pet to return | [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **petId** | **Long**| ID of pet to return | [default to null] |
### Return type
@@ -152,11 +156,13 @@ Name | Type | Description | Notes
Update an existing pet
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **Pet** | [**Pet**](../Models/Pet.md)| Pet object that needs to be added to the store |
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **Pet** | [**Pet**](../Models/Pet.md)| Pet object that needs to be added to the store | |
### Return type
@@ -177,13 +183,15 @@ Name | Type | Description | Notes
Updates a pet in the store with form data
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **Long**| ID of pet that needs to be updated | [default to null]
- **name** | **String**| Updated name of the pet | [optional] [default to null]
- **status** | **String**| Updated status of the pet | [optional] [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **petId** | **Long**| ID of pet that needs to be updated | [default to null] |
+| **name** | **String**| Updated name of the pet | [optional] [default to null] |
+| **status** | **String**| Updated status of the pet | [optional] [default to null] |
### Return type
@@ -204,13 +212,15 @@ null (empty response body)
uploads an image
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **petId** | **Long**| ID of pet to update | [default to null]
- **additionalMetadata** | **String**| Additional data to pass to server | [optional] [default to null]
- **file** | **File**| file to upload | [optional] [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **petId** | **Long**| ID of pet to update | [default to null] |
+| **additionalMetadata** | **String**| Additional data to pass to server | [optional] [default to null] |
+| **file** | **File**| file to upload | [optional] [default to null] |
### Return type
diff --git a/samples/documentation/markdown/Apis/StoreApi.md b/samples/documentation/markdown/Apis/StoreApi.md
index 809615dbb51..4797be5c51e 100644
--- a/samples/documentation/markdown/Apis/StoreApi.md
+++ b/samples/documentation/markdown/Apis/StoreApi.md
@@ -2,12 +2,12 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
-[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
-[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
@@ -20,9 +20,9 @@ Delete purchase order by ID
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **String**| ID of the order that needs to be deleted | [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **orderId** | **String**| ID of the order that needs to be deleted | [default to null] |
### Return type
@@ -50,7 +50,7 @@ This endpoint does not need any parameter.
### Return type
-[**Map**](../Models/integer.md)
+**Map**
### Authorization
@@ -71,9 +71,9 @@ Find purchase order by ID
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **orderId** | **Long**| ID of pet that needs to be fetched | [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **orderId** | **Long**| ID of pet that needs to be fetched | [default to null] |
### Return type
@@ -94,11 +94,13 @@ No authorization required
Place an order for a pet
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **Order** | [**Order**](../Models/Order.md)| order placed for purchasing the pet |
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **Order** | [**Order**](../Models/Order.md)| order placed for purchasing the pet | |
### Return type
diff --git a/samples/documentation/markdown/Apis/UserApi.md b/samples/documentation/markdown/Apis/UserApi.md
index 2f9caddbec1..683599e9c3a 100644
--- a/samples/documentation/markdown/Apis/UserApi.md
+++ b/samples/documentation/markdown/Apis/UserApi.md
@@ -2,16 +2,16 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**createUser**](UserApi.md#createUser) | **POST** /user | Create user
-[**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
-[**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
-[**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
-[**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
-[**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
-[**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
-[**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
@@ -24,9 +24,9 @@ Create user
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **User** | [**User**](../Models/User.md)| Created user object |
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **User** | [**User**](../Models/User.md)| Created user object | |
### Return type
@@ -47,11 +47,13 @@ null (empty response body)
Creates list of users with given input array
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **User** | [**List**](../Models/User.md)| List of user object |
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **User** | [**List**](../Models/User.md)| List of user object | |
### Return type
@@ -72,11 +74,13 @@ null (empty response body)
Creates list of users with given input array
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **User** | [**List**](../Models/User.md)| List of user object |
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **User** | [**List**](../Models/User.md)| List of user object | |
### Return type
@@ -101,9 +105,9 @@ Delete user
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **String**| The name that needs to be deleted | [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **username** | **String**| The name that needs to be deleted | [default to null] |
### Return type
@@ -124,11 +128,13 @@ null (empty response body)
Get user by user name
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **String**| The name that needs to be fetched. Use user1 for testing. | [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **username** | **String**| The name that needs to be fetched. Use user1 for testing. | [default to null] |
### Return type
@@ -149,16 +155,18 @@ No authorization required
Logs user into the system
+
+
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **String**| The user name for login | [default to null]
- **password** | **String**| The password for login in clear text | [default to null]
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **username** | **String**| The user name for login | [default to null] |
+| **password** | **String**| The password for login in clear text | [default to null] |
### Return type
-[**String**](../Models/string.md)
+**String**
### Authorization
@@ -175,6 +183,8 @@ No authorization required
Logs out current logged in user session
+
+
### Parameters
This endpoint does not need any parameter.
@@ -201,10 +211,10 @@ Updated user
### Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **username** | **String**| name that need to be deleted | [default to null]
- **User** | [**User**](../Models/User.md)| Updated user object |
+|Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **username** | **String**| name that need to be deleted | [default to null] |
+| **User** | [**User**](../Models/User.md)| Updated user object | |
### Return type
diff --git a/samples/documentation/markdown/Models/ApiResponse.md b/samples/documentation/markdown/Models/ApiResponse.md
index b71399acbfd..a0478f654b3 100644
--- a/samples/documentation/markdown/Models/ApiResponse.md
+++ b/samples/documentation/markdown/Models/ApiResponse.md
@@ -1,11 +1,11 @@
# ApiResponse
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**code** | [**Integer**](integer.md) | | [optional] [default to null]
-**type** | [**String**](string.md) | | [optional] [default to null]
-**message** | [**String**](string.md) | | [optional] [default to null]
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+| **code** | **Integer** | | [optional] [default to null] |
+| **type** | **String** | | [optional] [default to null] |
+| **message** | **String** | | [optional] [default to null] |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/documentation/markdown/Models/Category.md b/samples/documentation/markdown/Models/Category.md
index 4c5a23ddc6d..e105af17529 100644
--- a/samples/documentation/markdown/Models/Category.md
+++ b/samples/documentation/markdown/Models/Category.md
@@ -1,10 +1,10 @@
# Category
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | [**Long**](long.md) | | [optional] [default to null]
-**name** | [**String**](string.md) | | [optional] [default to null]
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+| **id** | **Long** | | [optional] [default to null] |
+| **name** | **String** | | [optional] [default to null] |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/documentation/markdown/Models/InlineObject.md b/samples/documentation/markdown/Models/InlineObject.md
deleted file mode 100644
index 560963c5b99..00000000000
--- a/samples/documentation/markdown/Models/InlineObject.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# InlineObject
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | [**String**](string.md) | Updated name of the pet | [optional] [default to null]
-**status** | [**String**](string.md) | Updated status of the pet | [optional] [default to null]
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/samples/documentation/markdown/Models/InlineObject1.md b/samples/documentation/markdown/Models/InlineObject1.md
deleted file mode 100644
index 612ac2abbbf..00000000000
--- a/samples/documentation/markdown/Models/InlineObject1.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# InlineObject1
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**additionalMetadata** | [**String**](string.md) | Additional data to pass to server | [optional] [default to null]
-**file** | [**File**](file.md) | file to upload | [optional] [default to null]
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
diff --git a/samples/documentation/markdown/Models/Order.md b/samples/documentation/markdown/Models/Order.md
index 1aa5a35d84d..c20ad8f519b 100644
--- a/samples/documentation/markdown/Models/Order.md
+++ b/samples/documentation/markdown/Models/Order.md
@@ -1,14 +1,14 @@
# Order
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | [**Long**](long.md) | | [optional] [default to null]
-**petId** | [**Long**](long.md) | | [optional] [default to null]
-**quantity** | [**Integer**](integer.md) | | [optional] [default to null]
-**shipDate** | [**Date**](DateTime.md) | | [optional] [default to null]
-**status** | [**String**](string.md) | Order Status | [optional] [default to null]
-**complete** | [**Boolean**](boolean.md) | | [optional] [default to false]
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+| **id** | **Long** | | [optional] [default to null] |
+| **petId** | **Long** | | [optional] [default to null] |
+| **quantity** | **Integer** | | [optional] [default to null] |
+| **shipDate** | **Date** | | [optional] [default to null] |
+| **status** | **String** | Order Status | [optional] [default to null] |
+| **complete** | **Boolean** | | [optional] [default to false] |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/documentation/markdown/Models/Pet.md b/samples/documentation/markdown/Models/Pet.md
index d00d70ef39e..dec1f609146 100644
--- a/samples/documentation/markdown/Models/Pet.md
+++ b/samples/documentation/markdown/Models/Pet.md
@@ -1,14 +1,14 @@
# Pet
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | [**Long**](long.md) | | [optional] [default to null]
-**category** | [**Category**](Category.md) | | [optional] [default to null]
-**name** | [**String**](string.md) | | [default to null]
-**photoUrls** | [**List**](string.md) | | [default to null]
-**tags** | [**List**](Tag.md) | | [optional] [default to null]
-**status** | [**String**](string.md) | pet status in the store | [optional] [default to null]
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+| **id** | **Long** | | [optional] [default to null] |
+| **category** | [**Category**](Category.md) | | [optional] [default to null] |
+| **name** | **String** | | [default to null] |
+| **photoUrls** | **List** | | [default to null] |
+| **tags** | [**List**](Tag.md) | | [optional] [default to null] |
+| **status** | **String** | pet status in the store | [optional] [default to null] |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/documentation/markdown/Models/Tag.md b/samples/documentation/markdown/Models/Tag.md
index 07bd207ed3f..99d29433a56 100644
--- a/samples/documentation/markdown/Models/Tag.md
+++ b/samples/documentation/markdown/Models/Tag.md
@@ -1,10 +1,10 @@
# Tag
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | [**Long**](long.md) | | [optional] [default to null]
-**name** | [**String**](string.md) | | [optional] [default to null]
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+| **id** | **Long** | | [optional] [default to null] |
+| **name** | **String** | | [optional] [default to null] |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/documentation/markdown/Models/User.md b/samples/documentation/markdown/Models/User.md
index 8fe2d5041cb..4de4ce0347b 100644
--- a/samples/documentation/markdown/Models/User.md
+++ b/samples/documentation/markdown/Models/User.md
@@ -1,16 +1,16 @@
# User
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | [**Long**](long.md) | | [optional] [default to null]
-**username** | [**String**](string.md) | | [optional] [default to null]
-**firstName** | [**String**](string.md) | | [optional] [default to null]
-**lastName** | [**String**](string.md) | | [optional] [default to null]
-**email** | [**String**](string.md) | | [optional] [default to null]
-**password** | [**String**](string.md) | | [optional] [default to null]
-**phone** | [**String**](string.md) | | [optional] [default to null]
-**userStatus** | [**Integer**](integer.md) | User Status | [optional] [default to null]
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+| **id** | **Long** | | [optional] [default to null] |
+| **username** | **String** | | [optional] [default to null] |
+| **firstName** | **String** | | [optional] [default to null] |
+| **lastName** | **String** | | [optional] [default to null] |
+| **email** | **String** | | [optional] [default to null] |
+| **password** | **String** | | [optional] [default to null] |
+| **phone** | **String** | | [optional] [default to null] |
+| **userStatus** | **Integer** | User Status | [optional] [default to null] |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/samples/documentation/markdown/README.md b/samples/documentation/markdown/README.md
index 2def95fc810..f4c2d5dbcda 100644
--- a/samples/documentation/markdown/README.md
+++ b/samples/documentation/markdown/README.md
@@ -5,28 +5,28 @@
All URIs are relative to *http://petstore.swagger.io/v2*
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*PetApi* | [**addPet**](Apis/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
-*PetApi* | [**deletePet**](Apis/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
-*PetApi* | [**findPetsByStatus**](Apis/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
-*PetApi* | [**findPetsByTags**](Apis/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
-*PetApi* | [**getPetById**](Apis/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
-*PetApi* | [**updatePet**](Apis/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
-*PetApi* | [**updatePetWithForm**](Apis/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
-*PetApi* | [**uploadFile**](Apis/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
-*StoreApi* | [**deleteOrder**](Apis/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
-*StoreApi* | [**getInventory**](Apis/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
-*StoreApi* | [**getOrderById**](Apis/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
-*StoreApi* | [**placeOrder**](Apis/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
-*UserApi* | [**createUser**](Apis/UserApi.md#createuser) | **POST** /user | Create user
-*UserApi* | [**createUsersWithArrayInput**](Apis/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array
-*UserApi* | [**createUsersWithListInput**](Apis/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array
-*UserApi* | [**deleteUser**](Apis/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user
-*UserApi* | [**getUserByName**](Apis/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name
-*UserApi* | [**loginUser**](Apis/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system
-*UserApi* | [**logoutUser**](Apis/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session
-*UserApi* | [**updateUser**](Apis/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
+| Class | Method | HTTP request | Description |
+|------------ | ------------- | ------------- | -------------|
+| *PetApi* | [**addPet**](Apis/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store |
+*PetApi* | [**deletePet**](Apis/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet |
+*PetApi* | [**findPetsByStatus**](Apis/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status |
+*PetApi* | [**findPetsByTags**](Apis/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags |
+*PetApi* | [**getPetById**](Apis/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID |
+*PetApi* | [**updatePet**](Apis/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet |
+*PetApi* | [**updatePetWithForm**](Apis/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+*PetApi* | [**uploadFile**](Apis/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| *StoreApi* | [**deleteOrder**](Apis/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID |
+*StoreApi* | [**getInventory**](Apis/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status |
+*StoreApi* | [**getOrderById**](Apis/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID |
+*StoreApi* | [**placeOrder**](Apis/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet |
+| *UserApi* | [**createUser**](Apis/UserApi.md#createuser) | **POST** /user | Create user |
+*UserApi* | [**createUsersWithArrayInput**](Apis/UserApi.md#createuserswitharrayinput) | **POST** /user/createWithArray | Creates list of users with given input array |
+*UserApi* | [**createUsersWithListInput**](Apis/UserApi.md#createuserswithlistinput) | **POST** /user/createWithList | Creates list of users with given input array |
+*UserApi* | [**deleteUser**](Apis/UserApi.md#deleteuser) | **DELETE** /user/{username} | Delete user |
+*UserApi* | [**getUserByName**](Apis/UserApi.md#getuserbyname) | **GET** /user/{username} | Get user by user name |
+*UserApi* | [**loginUser**](Apis/UserApi.md#loginuser) | **GET** /user/login | Logs user into the system |
+*UserApi* | [**logoutUser**](Apis/UserApi.md#logoutuser) | **GET** /user/logout | Logs out current logged in user session |
+*UserApi* | [**updateUser**](Apis/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user |
@@ -34,8 +34,6 @@ Class | Method | HTTP request | Description
- [ApiResponse](./Models/ApiResponse.md)
- [Category](./Models/Category.md)
- - [InlineObject](./Models/InlineObject.md)
- - [InlineObject1](./Models/InlineObject1.md)
- [Order](./Models/Order.md)
- [Pet](./Models/Pet.md)
- [Tag](./Models/Tag.md)