Forum Discussion

VishalDubey's avatar
VishalDubey
New Member
2 years ago

{{#vendorExtensions.x-java-field-annotation}} variable in mustache is giving an issue.

mustache :-

{{#vendorExtensions.x-java-field-annotation}}

{{{.}}}

{{#vendorExtensions.x-java-field-annotation}}

 

Swagger :- 

components:
schemas:
Bank:
x-java-class-annotation:
- "@javax.persistence.Entity"
description: Banking Service VO
type: object
properties:
branchCode:
x-java-class-annotation:
- "@javax.persistence.Entity"
type: integer
example: 4323***
description: 'Enter the branch code'
ifsccode:
type: string
example: ICSC****
bankName:
type: string
example: ICICI

 

after building the application its only working for class level annotation but not for field level annotation. (FYI :- I am working on kotlin-springboot)

 

May I know what is causing issue?

BruceOpenApi Openair 

No RepliesBe the first to reply