diff --git a/modules/openapi-generator/src/main/resources/python-pydantic-v1/api_doc.mustache b/modules/openapi-generator/src/main/resources/python-pydantic-v1/api_doc.mustache index 4a1d3648013c..8fa3e4edb3a6 100644 --- a/modules/openapi-generator/src/main/resources/python-pydantic-v1/api_doc.mustache +++ b/modules/openapi-generator/src/main/resources/python-pydantic-v1/api_doc.mustache @@ -13,9 +13,9 @@ Method | HTTP request | Description # **{{{operationId}}}** > {{#returnType}}{{{.}}} {{/returnType}}{{{operationId}}}({{#allParams}}{{#required}}{{{paramName}}}{{/required}}{{^required}}{{{paramName}}}={{{paramName}}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}) -{{{summary}}}{{#notes}} +{{{summary}}} -{{{.}}}{{/notes}} +{{#unescapedNotes}}{{{.}}}{{/unescapedNotes}} ### Example diff --git a/modules/openapi-generator/src/main/resources/python/api_doc.mustache b/modules/openapi-generator/src/main/resources/python/api_doc.mustache index 6a58fc9aa906..347fe9581fec 100644 --- a/modules/openapi-generator/src/main/resources/python/api_doc.mustache +++ b/modules/openapi-generator/src/main/resources/python/api_doc.mustache @@ -13,9 +13,9 @@ Method | HTTP request | Description # **{{{operationId}}}** > {{#returnType}}{{{.}}} {{/returnType}}{{{operationId}}}({{#allParams}}{{#required}}{{{paramName}}}{{/required}}{{^required}}{{{paramName}}}={{{paramName}}}{{/required}}{{^-last}}, {{/-last}}{{/allParams}}) -{{{summary}}}{{#notes}} +{{{summary}}} -{{{.}}}{{/notes}} +{{#unescapedNotes}}{{{.}}}{{/unescapedNotes}} ### Example