como faço para adicionar múltiplos Jsons em um Swagger UI? Eu estou hospedando o servidor no meu localhost, mas vai apenas um json por json no @PostMapping.
No caso, preciso fazer:
json 1, post json 2, post json 3, post
e eu queria postar todos os jsons que tenho armazenados:
{
"id": 1,
"name": "Spike Spiegel",
"cpf": "111222333444",
"birthdate": "27/03/1992",
"cellphone": "51999090832",
"address": {
"street": "Mars Avenue",
"number": "27",
"neighborhood": "Mars Valley",
"city": "New Texas",
"state": "Arizona"
}
},
{
"id": 2,
"name": "Naruto Uzumaki",
"cpf": "444555666777",
"birthdate": "12/10/1999",
"cellphone": "5192133312331",
"address": {
"street": "Leaf Street",
"number": "42",
"neighborhood": "Leaf Neighborhood",
"city": "Konoha",
"state": "Fire Country"
}
},
{
"id": 3,
"name": "Edward Elric",
"cpf": "9998880900222",
"birthdate": "11/07/1890",
"cellphone": "519992020202",
"address": {
"street": "Central Avenue",
"number": "17",
"neighborhood": "Amestris Central Plaza",
"city": "Central City",
"state": "Amestris"
}
},
{
"id": 4,
"name": "Saitama",
"cpf": "000898727980",
"birthdate": "21/12/2000",
"cellphone": "51998800997766",
"address": {
"street": "Z Street",
"number": "20",
"neighborhood": "Z Neighborhood",
"city": "Z City",
"state": "Saitama Prefecture"
}
},
{
"id": 5,
"name": "Monkey D Luffy",
"cpf": "202039029320",
"birthdate": "15/10/1500",
"cellphone": "519920220222",
"address": {
"street": "Happy Street",
"number": "34",
"neighborhood": "Merry Going",
"city": "Syrup Village",
"state": "East Blue"
}
},
{
"id": 6,
"name": "Son Goku",
"cpf": "391392039213",
"birthdate": "20/06/2040",
"cellphone": "510009020022",
"address": {
"street": "by the Mountains",
"number": "No number",
"neighborhood": "Mountain Village", "city": "Mountain Fuji",
"state": "Japan"
}
}