Files
bruno/tests/import/openapi/fixtures/openapi-simple.json
Abhishek S Lal 60b437ef9d fix: update test URLs having httpbin. Add redirect chain endpoint to test server (#5989)
* fix: update test URLs from httpbin to echo.usebruno.com across multiple test files

* fix: standardize URL formatting in insomnia test files

* chore: standardize URL formatting in insomnia test files
2025-11-05 20:16:07 +05:30

117 lines
2.8 KiB
JSON

{
"openapi": "3.0.0",
"info": {
"title": "Simple Test API",
"description": "A simple API for basic OpenAPI testing",
"version": "1.0.0"
},
"servers": [
{
"url": "https://echo.usebruno.com",
"description": "Echo test server"
}
],
"paths": {
"/get": {
"get": {
"summary": "HTTP GET test",
"description": "Test HTTP GET request",
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"args": {
"type": "object"
},
"headers": {
"type": "object"
},
"origin": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/post": {
"post": {
"summary": "HTTP POST test",
"description": "Test HTTP POST request",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"json": {
"type": "object"
},
"origin": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/status/{code}": {
"get": {
"summary": "Return status code",
"description": "Return a specific HTTP status code",
"parameters": [
{
"name": "code",
"in": "path",
"required": true,
"description": "HTTP status code to return",
"schema": {
"type": "integer",
"minimum": 100,
"maximum": 599
}
}
],
"responses": {
"default": {
"description": "Returns the specified status code"
}
}
}
}
}
}