Skip to content

Commit

Permalink
OpenAPITools#14141 Add externalDocs to @operation to the JavaSpring g…
Browse files Browse the repository at this point in the history
…enerator: fix carriage return
  • Loading branch information
arey committed Dec 5, 2022
1 parent c90290f commit f15dd2b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ public interface {{classname}} {
@SecurityRequirement(name = "{{name}}"{{#isOAuth}}, scopes={ {{#scopes}}"{{scope}}"{{^-last}}, {{/-last}}{{/scopes}} }{{/isOAuth}}){{^-last}},{{/-last}}
{{/authMethods}}
}{{/hasAuthMethods}}{{#hasExternalDocs}},
externalDocs = @ExternalDocumentation(description = "{{externalDocs.description}}", url = "{{externalDocs.url}}")
{{/hasExternalDocs}}
externalDocs = @ExternalDocumentation(description = "{{externalDocs.description}}", url = "{{externalDocs.url}}"){{/hasExternalDocs}}
)
{{/swagger2AnnotationLibrary}}
{{#swagger1AnnotationLibrary}}
Expand Down

0 comments on commit f15dd2b

Please sign in to comment.