Skip to content

Commit 17acd6e

Browse files
committed
add model spec name to generated docs
1 parent 66520ab commit 17acd6e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

modules/openapi-generator/src/main/resources/julia-client/partial_model_anyof.mustache

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{#anyOf}}{{#-first}}
2-
@doc raw"""{{#description}}{{description}}
3-
{{/description}}
2+
@doc raw"""{{name}}{{#description}}
3+
{{description}}{{/description}}
44

55
{{classname}}(; value=nothing)
66
"""

modules/openapi-generator/src/main/resources/julia-client/partial_model_oneof.mustache

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{#oneOf}}{{#-first}}
2-
@doc raw"""{{#description}}{{description}}
3-
{{/description}}
2+
@doc raw"""{{name}}{{#description}}
3+
{{description}}{{/description}}
44

55
{{classname}}(; value=nothing)
66
"""

modules/openapi-generator/src/main/resources/julia-client/partial_model_single.mustache

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@doc raw"""{{#description}}{{description}}
2-
{{/description}}
1+
@doc raw"""{{name}}{{#description}}
2+
{{description}}{{/description}}
33

44
{{classname}}(;
55
{{#allVars}}

0 commit comments

Comments
 (0)