Files
bruno/tests/import/openapi/fixtures/openapi-path-grouping.json
Pooja db6a639c15 feat: add path based grouping for openapi (#5638)
* feat: add path based grouping for openapi
2025-10-07 13:32:11 +05:30

77 lines
1.4 KiB
JSON

{
"openapi": "3.0.0",
"info": {
"title": "Path Grouping Test API",
"description": "API for testing path-based folder grouping",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.example.com",
"description": "Test server"
}
],
"paths": {
"/users": {
"get": {
"summary": "List users",
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/users/{id}": {
"get": {
"summary": "Get user by ID",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/products": {
"get": {
"summary": "List products",
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/products/{id}": {
"get": {
"summary": "Get product by ID",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
}
}
}