graphql-schema.api.mustache Maven / Gradle / Ivy
{{>partial_header}}
# package {{packageName}}
# {{classname}}
{{#operations}}
type mutation {
{{#operation}}
{{#vendorExtensions.x-is-mutation}}
{{#summary}}
# {{.}}
{{/summary}}
{{#notes}}
# {{.}}
{{/notes}}
{{#allParams}}
# @param {{dataType}} {{paramName}} {{description}}
{{/allParams}}
# @return [{{returnType}}{{^returnType}}null{{/returnType}}]
{{operationId}}({{#allParams}}{{paramName}}: {{dataType}}{{^-last}}, {{/-last}}{{/allParams}}): {{returnType}}{{^returnType}}null{{/returnType}}
{{/vendorExtensions.x-is-mutation}}
{{/operation}}
}
{{/operations}}
{{#operations}}
type query {
{{#operation}}
{{^vendorExtensions.x-is-mutation}}
{{#summary}}
# {{.}}
{{/summary}}
{{#notes}}
# {{.}}
{{/notes}}
{{#allParams}}
# @param {{dataType}} {{paramName}} {{description}}
{{/allParams}}
# @return [{{returnType}}{{^returnType}}null{{/returnType}}]
{{operationId}}({{#allParams}}{{paramName}}: {{dataType}}{{^-last}}, {{/-last}}{{/allParams}}): {{returnType}}{{^returnType}}null{{/returnType}}
{{/vendorExtensions.x-is-mutation}}
{{/operation}}
}
{{/operations}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy