forked from loafle/openapi-generator-original
Rework PHP function comments to match PHPDoc style.
Also eliminated bad newline.
This commit is contained in:
parent
3abc42eee9
commit
8106de95dc
@ -27,12 +27,12 @@ class {{classname}} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{{#operation}}
|
{{#operation}}
|
||||||
/**
|
/**
|
||||||
* {{nickname}}
|
* {{nickname}}
|
||||||
* {{summary}}
|
* {{summary}}
|
||||||
|
*
|
||||||
{{#allParams}}
|
{{#allParams}}
|
||||||
* {{paramName}}, {{dataType}}: {{description}} {{^optional}}(required){{/optional}}{{#optional}}(optional){{/optional}}
|
* @param {{dataType}} ${{paramName}} {{description}} ({{^optional}}required{{/optional}}{{#optional}}optional{{/optional}})
|
||||||
{{newline}}
|
|
||||||
{{/allParams}}
|
{{/allParams}}
|
||||||
* @return {{returnType}}
|
* @return {{returnType}}
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user