Skip to content

Commit

Permalink
Update OpenAPI spec and regenerate libs
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-lucho committed Jan 30, 2024
1 parent 484d8e0 commit e0ce04c
Showing 1 changed file with 94 additions and 57 deletions.
151 changes: 94 additions & 57 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,17 @@
"status": {
"$ref": "#/components/schemas/MessageStatus"
},
"tags": {
"items": {
"example": "project_1337",
"maxLength": 128,
"pattern": "^[a-zA-Z0-9\\-_.]+$",
"type": "string"
},
"nullable": true,
"type": "array",
"uniqueItems": true
},
"timestamp": {
"format": "date-time",
"type": "string"
Expand Down Expand Up @@ -3173,6 +3184,17 @@
},
"type": "object"
},
"tags": {
"items": {
"example": "project_1337",
"maxLength": 128,
"pattern": "^[a-zA-Z0-9\\-_.]+$",
"type": "string"
},
"nullable": true,
"type": "array",
"uniqueItems": true
},
"timestamp": {
"format": "date-time",
"type": "string"
Expand Down Expand Up @@ -5367,6 +5389,20 @@
},
"style": "form"
},
{
"description": "Filter response based on the tag",
"in": "query",
"name": "tag",
"schema": {
"description": "Filter response based on the tag",
"example": "project_1337",
"maxLength": 128,
"nullable": true,
"pattern": "^[a-zA-Z0-9\\-_.]+$",
"type": "string"
},
"style": "form"
},
{
"description": "Only include items created before a certain date",
"in": "query",
Expand Down Expand Up @@ -5684,6 +5720,20 @@
},
"style": "form"
},
{
"description": "Filter response based on the tag",
"in": "query",
"name": "tag",
"schema": {
"description": "Filter response based on the tag",
"example": "project_1337",
"maxLength": 128,
"nullable": true,
"pattern": "^[a-zA-Z0-9\\-_.]+$",
"type": "string"
},
"style": "form"
},
{
"description": "Filter the attempts based on the attempted endpoint",
"in": "query",
Expand Down Expand Up @@ -7744,6 +7794,20 @@
},
"style": "form"
},
{
"description": "Filter response based on the message tags",
"in": "query",
"name": "tag",
"schema": {
"description": "Filter response based on the message tags",
"example": "project_1337",
"maxLength": 128,
"nullable": true,
"pattern": "^[a-zA-Z0-9\\-_.]+$",
"type": "string"
},
"style": "form"
},
{
"description": "Filter response based on the delivery status",
"in": "query",
Expand Down Expand Up @@ -10267,7 +10331,7 @@
],
"requestBody": {
"content": {
"text/plain; charset=utf-8": {
"application/json": {
"schema": {
"type": "string"
}
Expand Down Expand Up @@ -12716,6 +12780,20 @@
},
"style": "form"
},
{
"description": "Filter response based on the tag",
"in": "query",
"name": "tag",
"schema": {
"description": "Filter response based on the tag",
"example": "project_1337",
"maxLength": 128,
"nullable": true,
"pattern": "^[a-zA-Z0-9\\-_.]+$",
"type": "string"
},
"style": "form"
},
{
"description": "Filter response based on the delivery status",
"in": "query",
Expand Down Expand Up @@ -14014,6 +14092,20 @@
},
"style": "form"
},
{
"description": "Filter response based on the tag",
"in": "query",
"name": "tag",
"schema": {
"description": "Filter response based on the tag",
"example": "project_1337",
"maxLength": 128,
"nullable": true,
"pattern": "^[a-zA-Z0-9\\-_.]+$",
"type": "string"
},
"style": "form"
},
{
"description": "Filter response based on the delivery status",
"in": "query",
Expand Down Expand Up @@ -18803,61 +18895,6 @@
"Health"
],
"x-codeSamples": [
{
"label": "JavaScript",
"lang": "JavaScript",
"source": "await svix.health.get();"
},
{
"label": "TypeScript",
"lang": "JavaScript",
"source": "await svix.health.get();"
},
{
"label": "Python",
"lang": "Python",
"source": "svix.health.get()"
},
{
"label": "Python (Async)",
"lang": "Python",
"source": "await svix.health.get()"
},
{
"label": "Go",
"lang": "Go",
"source": "err := svixClient.Health.Get(ctx)"
},
{
"label": "Kotlin",
"lang": "Kotlin",
"source": "svix.health.get()"
},
{
"label": "Java",
"lang": "Java",
"source": "svix.getHealth().get()"
},
{
"label": "Ruby",
"lang": "Ruby",
"source": "svix.health.get()"
},
{
"label": "Rust",
"lang": "Rust",
"source": "svix.health().get().await?;"
},
{
"label": "C#",
"lang": "C#",
"source": "await svix.Health.GetAsync()"
},
{
"label": "CLI",
"lang": "Shell",
"source": "svix health get "
},
{
"label": "cURL",
"lang": "Shell",
Expand Down Expand Up @@ -21876,4 +21913,4 @@
}
}
}
}
}

0 comments on commit e0ce04c

Please sign in to comment.