Root
GET
/
const url = 'http://localhost:8080/';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response Root Get
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}