Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -7234,7 +7234,7 @@ protected void addBodyModelSchema(CodegenParameter codegenParameter, String name
}

protected void updateRequestBodyForMap(CodegenParameter codegenParameter, Schema schema, String name, Set<String> imports, String bodyParameterName) {
if (ModelUtils.isGenerateAliasAsModel(schema) && StringUtils.isNotBlank(name)) {
if (StringUtils.isNotBlank(name)) {
this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, true);
} else {
Schema inner = ModelUtils.getAdditionalProperties(schema);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/nullable:
post:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/nullable:
post:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,27 @@ paths:
type: string
description: request body
required: true
/fake/inline-freeform-additionalProperties:
post:
tags:
- fake
summary: test inline free-form additionalProperties
description: ''
operationId: testInlineFreeformAdditionalProperties
responses:
'200':
description: successful operation
requestBody:
content:
application/json:
schema:
type: object
properties:
someProperty:
type: string
additionalProperties: true
description: request body
required: true
/fake/body-with-query-params:
put:
tags:
Expand Down
Loading