Makes it possible to put templates in subdirectories
This commit is contained in:
parent
68dc70c176
commit
7e8aa018e9
9 changed files with 109 additions and 53 deletions
|
@ -1,3 +1,5 @@
|
|||
Generated from template: ${meta.templateFile}
|
||||
|
||||
<#list endpoints as endpoint>
|
||||
<#list endpoint.paths.paths>
|
||||
<#items as segment>/${segment}</#items>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
package ${config.package}
|
||||
<#list meta.templateDirectories>package <#items as dir>${dir}<#sep>.</#items>;</#list>
|
||||
|
||||
object Codecs:
|
||||
<#list typeDefinitions as type>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
package ${config.package}
|
||||
<#list meta.templateDirectories>package<#items as dir>${dir}<#sep>.</#items>;</#list>
|
||||
|
||||
class Endpoints:
|
||||
<#list endpoints as endpoint>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
package ${config.package}
|
||||
<#list meta.templateDirectories>package<#items as dir>${dir}<#sep>.</#items>;</#list>
|
||||
|
||||
object Protocol:
|
||||
<#list typeDefinitions?sort as type>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue