Skip to content

Commit

Permalink
feat(agent): updating cli client
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar committed Aug 26, 2024
1 parent 50b98a3 commit 50ce2c0
Show file tree
Hide file tree
Showing 8 changed files with 627 additions and 15 deletions.
9 changes: 5 additions & 4 deletions agent/workers/trigger/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ type GraphqlRequest struct {
Headers []HTTPHeader `json:"headers,omitempty"`
Auth *HTTPAuthenticator `json:"auth,omitempty"`
SSLVerification bool `json:"sslVerification,omitempty"`
Schema string `json:"schema,omitempty"`
}

type GraphqlResponse struct {
Status string
StatusCode int
Headers []HTTPHeader
Body string
Status string `json:"status,omitempty"`
StatusCode int `json:"statusCode,omitempty"`
Headers []HTTPHeader `json:"headers,omitempty"`
Body string `json:"body,omitempty"`
}
2 changes: 1 addition & 1 deletion api/graphql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ components:
headers:
type: array
items:
$ref: "#/components/schemas/HTTPHeader"
$ref: "./http.yaml#/components/schemas/HTTPHeader"
body:
type: string
308 changes: 308 additions & 0 deletions cli/openapi/model_graphql_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 50ce2c0

Please sign in to comment.