Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

Commit 95a176f

Browse files
author
Aurélien FOUCRET
authored
Merge pull request #3 from afoucret/code-header
Make code header configurable.
2 parents 16a3bb4 + e241bce commit 95a176f

3 files changed

Lines changed: 9 additions & 13 deletions

File tree

resources/dev/elastic-openapi-codegen-php/src/main/resources/elastic-php-client/Client.mustache

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<?php
2-
/**
3-
* This file is part of the Elastic OpenAPI PHP code generator.
4-
*
5-
* For the full copyright and license information, please view the LICENSE
6-
* file that was distributed with this source code.
7-
*/
2+
{{>header}}
83

94
namespace {{invokerPackage}};
105

resources/dev/elastic-openapi-codegen-php/src/main/resources/elastic-php-client/api.mustache

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
<?php
2-
/**
3-
* This file is part of the Elastic OpenAPI PHP code generator.
4-
*
5-
* For the full copyright and license information, please view the LICENSE
6-
* file that was distributed with this source code.
7-
*/
2+
{{>header}}
83

94
namespace {{package}};
105

116
/**
12-
* Implementation of the {{className}} endpoint.
7+
* Implementation of the {{classname}} endpoint.
138
*
149
* @package {{package}}
1510
*/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* This file have been generated the Elastic OpenAPI PHP code generator.
3+
*
4+
* For the full copyright and license information, please view the LICENSE
5+
* file that was distributed with this source code.
6+
*/

0 commit comments

Comments
 (0)