[BUG] kotlin-spring generator doesn't generate comments on api methods
Created by: rainmanhhh
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
Have you tested with the latest master to confirm the issue still exists? -
Have you searched for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
kotlin-spring generator doesn't generate comments on api methods(but java spring generator does)
openapi-generator version
5.0.0
OpenAPI declaration file content or url
openapi: 3.0.3
info:
title: TRTC
description: TRTC
version: 1.0.0
contact:
name: sfy
servers:
- url: 'http://localhost:8080'
paths:
'/userSignature/{userId}':
get:
summary: generate signature for user
tags:
- TRTC
responses:
'200':
description: OK
content:
application/json:
schema:
type: string
operationId: get-userSignature
description: generate signature for user with sha256
parameters:
- schema:
type: string
in: query
name: test
description: Test param
parameters:
- schema:
type: string
name: userId
in: path
description: id of user
required: true
tags:
- name: TRTC
Generation Details
config.yaml:
apiPackage: trtc.apis
artifactId: trtc-server-api
basePackage: trtc
bigDecimalAsString: true
booleanGetterPrefix: true
configPackage: trtc.config
dateLibrary: java8
ensureUniqueParams: false
groupId: trtc
hideGenerationTimestamp: true
interfaceOnly: false
modelPackage: trtc.models
serviceInterface: true
title: trtc-server-api
unhandledException: true
useTags: true