Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'

This commit is contained in:
-Puter
2026-07-19 03:25:10 +05:30
parent dd1071cc10
commit 2daf979036
2214 changed files with 673090 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
{
"openapi": "3.0.0",
"info": {
"title": "CLI Basic API",
"version": "1.0.0"
},
"paths": {
"/users": {
"get": {
"operationId": "listUsers",
"responses": {
"200": {
"description": "List users",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {},
"securitySchemes": {}
},
"security": [],
"tags": []
}

View File

@@ -0,0 +1,57 @@
{
"openapi": "3.0.0",
"info": {
"title": "CLI Warning API",
"version": "1.0.0"
},
"paths": {
"/users/{id}": {
"get": {
"operationId": "getUser",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "session",
"in": "cookie",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "User response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": ["id"],
"additionalProperties": false
}
}
}
}
}
}
}
},
"components": {
"schemas": {},
"securitySchemes": {}
},
"security": [],
"tags": []
}

View File

@@ -0,0 +1,7 @@
[
{
"op": "copy",
"from": "/info/title",
"path": "/info/x-title"
}
]

View File

@@ -0,0 +1,6 @@
[
{
"op": "add",
"value": "test"
}
]

View File

@@ -0,0 +1,6 @@
[
{
"op": "add",
"path": "/info/x-missing"
}
]

View File

@@ -0,0 +1,8 @@
[
{
"op": "add",
"path": "/info/x-custom",
"value": "custom-value",
"description": "Add custom extension"
}
]

View File

@@ -0,0 +1,17 @@
[
{
"op": "replace",
"path": "/info/title",
"value": "My Custom API"
},
{
"op": "add",
"path": "/info/x-generator",
"value": "effect-openapi"
},
{
"op": "replace",
"path": "/info/version",
"value": "2.0.0"
}
]

View File

@@ -0,0 +1,6 @@
- op: replace
path: /info/title
value: YAML Patched Title
- op: add
path: /info/x-yaml-patch
value: true

View File

@@ -0,0 +1,6 @@
[
{
"op": "remove",
"path": "/paths/~1deprecated"
}
]

View File

@@ -0,0 +1,7 @@
[
{
"op": "replace",
"path": "/info/title",
"value": "Updated API Title"
}
]