mirror of https://github.com/usbharu/Hideout.git
20 lines
792 B
Plaintext
20 lines
792 B
Plaintext
|
package {{package}}
|
||
|
|
||
|
{{#imports}}import {{import}}
|
||
|
{{/imports}}
|
||
|
{{#reactive}}
|
||
|
import kotlinx.coroutines.flow.Flow
|
||
|
{{/reactive}}
|
||
|
import org.springframework.stereotype.Service
|
||
|
@Service
|
||
|
{{#operations}}
|
||
|
class {{classname}}ServiceImpl : {{classname}}Service {
|
||
|
{{#operation}}
|
||
|
|
||
|
override {{#reactive}}{{^isArray}}suspend {{/isArray}}{{/reactive}}fun {{operationId}}({{#allParams}}{{paramName}}: {{^isBodyParam}}{{>optionalDataType}}{{/isBodyParam}}{{#isBodyParam}}{{^reactive}}{{>optionalDataType}}{{/reactive}}{{#reactive}}{{^isArray}}{{>optionalDataType}}{{/isArray}}{{#isArray}}Flow<{{{baseType}}}>{{/isArray}}{{/reactive}}{{/isBodyParam}}{{^-last}}, {{/-last}}{{/allParams}}): {{>returnTypes}} {
|
||
|
TODO("Implement me")
|
||
|
}
|
||
|
{{/operation}}
|
||
|
}
|
||
|
{{/operations}}
|