You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switched the generator to php-nextgen and adjusted paths. Enhanced README with additional API details and usage instructions. Updated composer.mustache with clearer package description.
Copy file name to clipboardExpand all lines: template/php-nextgen/README.mustache
+21-8
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# {{packageName}}
1
+
# {{artifactDescription}}
2
2
3
3
{{#appDescriptionWithNewLines}}
4
4
{{{.}}}
@@ -8,6 +8,9 @@
8
8
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}).
9
9
{{/infoUrl}}
10
10
11
+
Brevo's API matches the [OpenAPI v2 definition](https://www.openapis.org/). The specification can be downloaded [here](https://api.brevo.com/v3/swagger_definition.yml).
12
+
13
+
11
14
## Installation & Usage
12
15
13
16
### Requirements
@@ -20,14 +23,8 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow
The partner key should be passed in the request headers as `partner-key` along with `api-key` pair for successful authentication of partner (Optional).
138
+
139
+
- **Type**: API key
140
+
- **API key parameter name**: partner-key
141
+
- **Location**: HTTP header
142
+
143
+
144
+
If you find a bug, please post the issue on [Github](https://github.com/getbrevo/brevo-php/issues).
145
+
146
+
As always, if you need additional assistance, drop us a note [here](https://account.brevo.com/support).
147
+
148
+
You can generate the PHP code with the CLI command: openapi-generator generate --skip-validate-spec -c config-openapi-generator.yml
149
+
138
150
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
139
151
140
152
- API version: `{{appVersion}}`
@@ -146,3 +158,4 @@ This PHP package is automatically generated by the [OpenAPI Generator](https://o
0 commit comments