Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
node_modules/
**/node_modules/
# Build outputs
lib/
esm/
dist/

120 changes: 116 additions & 4 deletions api/openapispec/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ const docTemplate = `{
"description": "The size of the page. Default to 10",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "Which field to sort the list by. Default to id",
"name": "sortBy",
"in": "query"
},
{
"type": "boolean",
"description": "Whether to sort the list in ascending order. Default to false",
"name": "ascending",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -376,6 +388,18 @@ const docTemplate = `{
"description": "The size of the page. Default to 10",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "Which field to sort the list by. Default to id",
"name": "sortBy",
"in": "query"
},
{
"type": "boolean",
"description": "Whether to sort the list in ascending order. Default to false",
"name": "ascending",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -702,6 +726,18 @@ const docTemplate = `{
"description": "The size of the page. Default to 10",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "Which field to sort the list by. Default to id",
"name": "sortBy",
"in": "query"
},
{
"type": "boolean",
"description": "Whether to sort the list in ascending order. Default to false",
"name": "ascending",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -1046,6 +1082,18 @@ const docTemplate = `{
"description": "The size of the page. Default to 10",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "Which field to sort the list by. Default to id",
"name": "sortBy",
"in": "query"
},
{
"type": "boolean",
"description": "Whether to sort the list in ascending order. Default to false",
"name": "ascending",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -1405,6 +1453,18 @@ const docTemplate = `{
"description": "The size of the page. Default to 10",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "Which field to sort the list by. Default to id",
"name": "sortBy",
"in": "query"
},
{
"type": "boolean",
"description": "Whether to sort the list in ascending order. Default to false",
"name": "ascending",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -1649,6 +1709,18 @@ const docTemplate = `{
"description": "The size of the page. Default to 10",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "Which field to sort the list by. Default to id",
"name": "sortBy",
"in": "query"
},
{
"type": "boolean",
"description": "Whether to sort the list in ascending order. Default to false",
"name": "ascending",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -1846,6 +1918,18 @@ const docTemplate = `{
"description": "The size of the page. Default to 10",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "Which field to sort the list by. Default to id",
"name": "sortBy",
"in": "query"
},
{
"type": "boolean",
"description": "Whether to sort the list in ascending order. Default to false",
"name": "ascending",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -2196,6 +2280,18 @@ const docTemplate = `{
"description": "The size of the page. Default to 10",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "Which field to sort the list by. Default to id",
"name": "sortBy",
"in": "query"
},
{
"type": "boolean",
"description": "Whether to sort the list in ascending order. Default to false",
"name": "ascending",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -3280,6 +3376,18 @@ const docTemplate = `{
"description": "The size of the page. Default to 10",
"name": "pageSize",
"in": "query"
},
{
"type": "string",
"description": "Which field to sort the list by. Default to id",
"name": "sortBy",
"in": "query"
},
{
"type": "boolean",
"description": "Whether to sort the list in ascending order. Default to false",
"name": "ascending",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -3866,18 +3974,18 @@ const docTemplate = `{
"constant.SourceProviderType": {
"type": "string",
"enum": [
"git",
"git",
"github",
"oci",
"local"
"local",
"git"
],
"x-enum-varnames": [
"DefaultSourceType",
"SourceProviderTypeGit",
"SourceProviderTypeGithub",
"SourceProviderTypeOCI",
"SourceProviderTypeLocal"
"SourceProviderTypeLocal",
"DefaultSourceType"
]
},
"constant.StackState": {
Expand Down Expand Up @@ -4277,6 +4385,10 @@ const docTemplate = `{
"description": "ResourceType is the type of the resource.",
"type": "string"
},
"resourceURN": {
"description": "ResourceURN is the urn of the resource.",
"type": "string"
},
"status": {
"description": "Status is the status of the resource.",
"type": "string"
Expand Down
Loading