From 9134100773771efd28d77a06a390d6dc26106e02 Mon Sep 17 00:00:00 2001 From: Manuel Rafeli Date: Fri, 12 Apr 2024 16:18:56 +0200 Subject: [PATCH] bugfix: pattern remove \S on user-ms opena api (#409) --- .../rest/docs/openapi/selfcare-user-docs.json | 171 ++++++++++++++++-- 1 file changed, 154 insertions(+), 17 deletions(-) diff --git a/connector/rest/docs/openapi/selfcare-user-docs.json b/connector/rest/docs/openapi/selfcare-user-docs.json index 8b0f81718..0aceba1c4 100644 --- a/connector/rest/docs/openapi/selfcare-user-docs.json +++ b/connector/rest/docs/openapi/selfcare-user-docs.json @@ -1,7 +1,7 @@ { "openapi" : "3.0.3", "info" : { - "title" : "User API (development)", + "title" : "user-ms API", "version" : "1.0.0" }, "servers" : [ { @@ -316,8 +316,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] }, "post" : { "tags" : [ "User Controller" ], @@ -341,8 +350,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/emails" : { @@ -377,8 +395,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/ids" : { @@ -408,8 +435,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/notification" : { @@ -449,8 +485,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/search" : { @@ -483,8 +528,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/{id}" : { @@ -521,8 +575,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/{id}/details" : { @@ -559,8 +622,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/{id}/institution/{institutionId}/product/{productId}/status" : { @@ -599,8 +671,17 @@ "responses" : { "204" : { "description" : "No Content" + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/{id}/status" : { @@ -651,8 +732,17 @@ "content" : { "application/json" : { } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/{id}/user-registry" : { @@ -688,8 +778,17 @@ "content" : { "application/json" : { } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/{userId}" : { @@ -719,8 +818,17 @@ "content" : { "application/json" : { } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/{userId}/institution/{institutionId}" : { @@ -797,8 +905,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/{userId}/institutions" : { @@ -838,8 +955,17 @@ } } } + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } }, "/users/{userId}/institutions/{institutionId}/products/{productId}" : { @@ -871,8 +997,17 @@ "responses" : { "204" : { "description" : "No Content" + }, + "403" : { + "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } - } + }, + "security" : [ { + "SecurityScheme" : [ ] + } ] } } }, @@ -895,6 +1030,9 @@ "institutionRootName" : { "type" : "string" }, + "userMailUuid" : { + "type" : "string" + }, "hasToSendEmail" : { "type" : "boolean" } @@ -1043,7 +1181,6 @@ "type" : "object", "properties" : { "fiscalCode" : { - "pattern" : "\\S", "type" : "string" } }