mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-12 19:48:26 +00:00
271 lines
7.2 KiB
JSON
271 lines
7.2 KiB
JSON
![]() |
{
|
||
|
"endpoints": [
|
||
|
{
|
||
|
"name": "updatePet",
|
||
|
"displayName": "Update Pet",
|
||
|
"description": "Update an existing pet",
|
||
|
"endpointURL": "https://petstore3.swagger.io/#/pet/updatePet",
|
||
|
"apiCollection": "sample_api_service.pet",
|
||
|
"requestMethod": "PUT",
|
||
|
"requestSchema": {
|
||
|
"schemaType": "JSON",
|
||
|
"schemaFields": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of pet that needs to be updated"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "category",
|
||
|
"dataType": "RECORD",
|
||
|
"description": "Category of pet",
|
||
|
"children": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of category"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of category"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "photoUrls",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "URLs of pet's photos"
|
||
|
},
|
||
|
{
|
||
|
"name": "tags",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "Tags of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "status",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Status of pet"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"responseSchema": {
|
||
|
"schemaType": "JSON",
|
||
|
"schemaFields": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of pet that needs to be updated"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "category",
|
||
|
"dataType": "RECORD",
|
||
|
"description": "Category of pet",
|
||
|
"children": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of category"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of category"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "photoUrls",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "URLs of pet's photos"
|
||
|
},
|
||
|
{
|
||
|
"name": "tags",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "Tags of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "status",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Status of pet"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "addPet",
|
||
|
"displayName": "Add Pet",
|
||
|
"apiCollection": "sample_api_service.pet",
|
||
|
"description": "add a new pet",
|
||
|
"endpointURL": "https://petstore3.swagger.io/#/pet/addPet",
|
||
|
"requestMethod": "POST",
|
||
|
"requestSchema": {
|
||
|
"schemaType": "JSON",
|
||
|
"schemaFields": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of pet that needs to be updated"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "category",
|
||
|
"dataType": "RECORD",
|
||
|
"description": "Category of pet",
|
||
|
"children": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of category"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of category"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "photoUrls",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "URLs of pet's photos"
|
||
|
},
|
||
|
{
|
||
|
"name": "tags",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "Tags of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "status",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Status of pet"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"responseSchema": {
|
||
|
"schemaType": "JSON",
|
||
|
"schemaFields": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of pet that needs to be updated"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "category",
|
||
|
"dataType": "RECORD",
|
||
|
"description": "Category of pet",
|
||
|
"children": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of category"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of category"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "photoUrls",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "URLs of pet's photos"
|
||
|
},
|
||
|
{
|
||
|
"name": "tags",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "Tags of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "status",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Status of pet"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "getPetById",
|
||
|
"displayName": "Find pet by ID",
|
||
|
"description": "Returns a single pet",
|
||
|
"apiCollection": "sample_api_service.pet",
|
||
|
"endpointURL": "https://petstore3.swagger.io/#/pet/addPet",
|
||
|
"requestMethod": "GET",
|
||
|
"responseSchema": {
|
||
|
"schemaType": "JSON",
|
||
|
"schemaFields": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of pet that needs to be updated"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "category",
|
||
|
"dataType": "RECORD",
|
||
|
"description": "Category of pet",
|
||
|
"children": [
|
||
|
{
|
||
|
"name": "id",
|
||
|
"dataType": "INT",
|
||
|
"description": "ID of category"
|
||
|
},
|
||
|
{
|
||
|
"name": "name",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Name of category"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"name": "photoUrls",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "URLs of pet's photos"
|
||
|
},
|
||
|
{
|
||
|
"name": "tags",
|
||
|
"dataType": "ARRAY",
|
||
|
"description": "Tags of pet"
|
||
|
},
|
||
|
{
|
||
|
"name": "status",
|
||
|
"dataType": "STRING",
|
||
|
"description": "Status of pet"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"name": "deletePet",
|
||
|
"apiCollection": "sample_api_service.pet",
|
||
|
"displayName": "Delete pet by ID",
|
||
|
"description": "Delete pet by ID",
|
||
|
"endpointURL": "https://petstore3.swagger.io/#/pet/deletePet",
|
||
|
"requestMethod": "DELETE"
|
||
|
}
|
||
|
]
|
||
|
}
|