Skip to content

Commit ff27439

Browse files
committed
Better request body models
1 parent a63622e commit ff27439

File tree

123 files changed

+2765
-2577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+2765
-2577
lines changed

.gitignore

+20-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
1-
# Binaries for programs and plugins
2-
*.exe
3-
*.exe~
4-
*.dll
1+
# Compiled Object files, Static and Dynamic libs (Shared Objects)
2+
*.o
3+
*.a
54
*.so
6-
*.dylib
75

8-
# Test binary, built with `go test -c`
9-
*.test
6+
# Folders
7+
_obj
8+
_test
9+
10+
# Architecture specific extensions/prefixes
11+
*.[568vq]
12+
[568vq].out
1013

11-
# Output of the go coverage tool, specifically when used with LiteIDE
12-
*.out
14+
*.cgo1.go
15+
*.cgo2.c
16+
_cgo_defun.c
17+
_cgo_gotypes.go
18+
_cgo_export.*
1319

14-
# Dependency directories (remove the comment below to include it)
15-
# vendor/
20+
_testmain.go
21+
22+
*.exe
23+
*.test
24+
*.prof

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: go
2+
3+
install:
4+
- go get -d -v .
5+
6+
script:
7+
- go build -v ./
8+

README.md

+44-42
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ The Laravel Forge API allows you to create and interact with servers and sites o
55
## Overview
66
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.
77

8-
- API version: 0.0.2
9-
- Package version: 0.0.2
8+
- API version: 1.0.0
9+
- Package version: 0.0.3
1010
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen
1111

1212
## Installation
@@ -170,67 +170,69 @@ Class | Method | HTTP request | Description
170170

171171
## Documentation For Models
172172

173+
- [AddSiteAliases](docs/AddSiteAliases.md)
173174
- [Backup](docs/Backup.md)
174-
- [BackupconfigsBackupConfigurationIdBody](docs/BackupconfigsBackupConfigurationIdBody.md)
175-
- [BackupsBackupIdBody](docs/BackupsBackupIdBody.md)
176-
- [BlackfireInstallBody](docs/BlackfireInstallBody.md)
177175
- [Certificate](docs/Certificate.md)
176+
- [ChangeSitePhpVersion](docs/ChangeSitePhpVersion.md)
177+
- [CloningAnExistingCertificate](docs/CloningAnExistingCertificate.md)
178178
- [Command](docs/Command.md)
179+
- [CreateBackupConfiguration](docs/CreateBackupConfiguration.md)
180+
- [CreateCertificate](docs/CreateCertificate.md)
181+
- [CreateDaemon](docs/CreateDaemon.md)
182+
- [CreateDatabase](docs/CreateDatabase.md)
183+
- [CreateDatabaseUser](docs/CreateDatabaseUser.md)
184+
- [CreateFirewallRule](docs/CreateFirewallRule.md)
185+
- [CreateJob](docs/CreateJob.md)
186+
- [CreateKey](docs/CreateKey.md)
187+
- [CreateMonitor](docs/CreateMonitor.md)
188+
- [CreateRecipe](docs/CreateRecipe.md)
189+
- [CreateRedirectRule](docs/CreateRedirectRule.md)
190+
- [CreateSecurityRule](docs/CreateSecurityRule.md)
191+
- [CreateServer](docs/CreateServer.md)
192+
- [CreateSite](docs/CreateSite.md)
193+
- [CreateTemplate](docs/CreateTemplate.md)
194+
- [CreateWorker](docs/CreateWorker.md)
179195
- [Credential](docs/Credential.md)
180196
- [Daemon](docs/Daemon.md)
181197
- [Database](docs/Database.md)
182-
- [DatabaseusersUserIdBody](docs/DatabaseusersUserIdBody.md)
183198
- [Deployment](docs/Deployment.md)
184-
- [DeploymentScriptBody](docs/DeploymentScriptBody.md)
185-
- [IdInstallBody](docs/IdInstallBody.md)
199+
- [ExecuteCommand](docs/ExecuteCommand.md)
200+
- [GetRecentEvents](docs/GetRecentEvents.md)
186201
- [InlineResponse200](docs/InlineResponse200.md)
187202
- [InlineResponse2001](docs/InlineResponse2001.md)
203+
- [InstallBlackfire](docs/InstallBlackfire.md)
204+
- [InstallCertificate](docs/InstallCertificate.md)
205+
- [InstallNewGitProject](docs/InstallNewGitProject.md)
206+
- [InstallPapertrail](docs/InstallPapertrail.md)
207+
- [InstallPhpMyAdmin](docs/InstallPhpMyAdmin.md)
208+
- [InstallWordPress](docs/InstallWordPress.md)
209+
- [InstallingAnExistingCertificate](docs/InstallingAnExistingCertificate.md)
188210
- [Job](docs/Job.md)
189211
- [Key](docs/Key.md)
190212
- [Monitor](docs/Monitor.md)
191-
- [NginxTemplatesBody](docs/NginxTemplatesBody.md)
192213
- [Node](docs/Node.md)
193-
- [PapertrailInstallBody](docs/PapertrailInstallBody.md)
194-
- [PhpRebootBody](docs/PhpRebootBody.md)
214+
- [RebootPhp](docs/RebootPhp.md)
195215
- [Recipe](docs/Recipe.md)
196-
- [RecipeIdRunBody](docs/RecipeIdRunBody.md)
197-
- [RecipesBody](docs/RecipesBody.md)
198-
- [RecipesRecipeIdBody](docs/RecipesRecipeIdBody.md)
199216
- [RedirectRule](docs/RedirectRule.md)
200217
- [Regions](docs/Regions.md)
218+
- [RestoreBackup](docs/RestoreBackup.md)
201219
- [Rule](docs/Rule.md)
220+
- [RunRecipe](docs/RunRecipe.md)
202221
- [SecurityRule](docs/SecurityRule.md)
203222
- [Server](docs/Server.md)
204-
- [ServerIdBackupconfigsBody](docs/ServerIdBackupconfigsBody.md)
205-
- [ServerIdDaemonsBody](docs/ServerIdDaemonsBody.md)
206-
- [ServerIdDatabasepasswordBody](docs/ServerIdDatabasepasswordBody.md)
207-
- [ServerIdDatabasesBody](docs/ServerIdDatabasesBody.md)
208-
- [ServerIdDatabaseusersBody](docs/ServerIdDatabaseusersBody.md)
209-
- [ServerIdFirewallrulesBody](docs/ServerIdFirewallrulesBody.md)
210-
- [ServerIdJobsBody](docs/ServerIdJobsBody.md)
211-
- [ServerIdKeysBody](docs/ServerIdKeysBody.md)
212-
- [ServerIdMonitorsBody](docs/ServerIdMonitorsBody.md)
213-
- [ServerIdSitesBody](docs/ServerIdSitesBody.md)
214-
- [ServersBody](docs/ServersBody.md)
215-
- [ServersEventsBody](docs/ServersEventsBody.md)
216-
- [ServersIdBody](docs/ServersIdBody.md)
217223
- [Site](docs/Site.md)
218-
- [SiteIdAliasesBody](docs/SiteIdAliasesBody.md)
219-
- [SiteIdBalancingBody](docs/SiteIdBalancingBody.md)
220-
- [SiteIdCertificatesBody](docs/SiteIdCertificatesBody.md)
221-
- [SiteIdCommandsBody](docs/SiteIdCommandsBody.md)
222-
- [SiteIdEnvBody](docs/SiteIdEnvBody.md)
223-
- [SiteIdGitBody](docs/SiteIdGitBody.md)
224-
- [SiteIdGitBody1](docs/SiteIdGitBody1.md)
225-
- [SiteIdNginxBody](docs/SiteIdNginxBody.md)
226-
- [SiteIdPhpBody](docs/SiteIdPhpBody.md)
227-
- [SiteIdPhpmyadminBody](docs/SiteIdPhpmyadminBody.md)
228-
- [SiteIdRedirectrulesBody](docs/SiteIdRedirectrulesBody.md)
229-
- [SiteIdSecurityrulesBody](docs/SiteIdSecurityrulesBody.md)
230-
- [SiteIdWordpressBody](docs/SiteIdWordpressBody.md)
231-
- [SiteIdWorkersBody](docs/SiteIdWorkersBody.md)
232-
- [SitesSiteIdBody](docs/SitesSiteIdBody.md)
233224
- [Template](docs/Template.md)
225+
- [UpdateBackupConfiguration](docs/UpdateBackupConfiguration.md)
226+
- [UpdateDatabasePassword](docs/UpdateDatabasePassword.md)
227+
- [UpdateDatabaseUser](docs/UpdateDatabaseUser.md)
228+
- [UpdateDeploymentScript](docs/UpdateDeploymentScript.md)
229+
- [UpdateEnvFile](docs/UpdateEnvFile.md)
230+
- [UpdateLoadBalancing](docs/UpdateLoadBalancing.md)
231+
- [UpdateNginxConfiguration](docs/UpdateNginxConfiguration.md)
232+
- [UpdateRecipe](docs/UpdateRecipe.md)
233+
- [UpdateRepository](docs/UpdateRepository.md)
234+
- [UpdateServer](docs/UpdateServer.md)
235+
- [UpdateSite](docs/UpdateSite.md)
234236
- [User](docs/User.md)
235237
- [Webhook](docs/Webhook.md)
236238
- [Worker](docs/Worker.md)

0 commit comments

Comments
 (0)