diff --git a/soknad-api-new.json b/soknad-api-new.json index 6cf7bd464..03bb7bde7 100644 --- a/soknad-api-new.json +++ b/soknad-api-new.json @@ -33,10 +33,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BoutgifterDto"}}} @@ -85,10 +82,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BoutgifterDto"}}} @@ -126,10 +120,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BarneutgifterDto"}}} @@ -178,10 +169,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BarneutgifterDto"}}} @@ -219,10 +207,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UtdanningDto"}}} @@ -271,10 +256,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UtdanningDto"}}} @@ -312,10 +294,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -357,10 +336,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -400,10 +376,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TelefonnummerDto"}}} @@ -443,10 +416,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TelefonnummerDto"}}} @@ -484,10 +454,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/KontoInformasjonDto"}}} @@ -536,10 +503,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/KontoInformasjonDto"}}} @@ -577,10 +541,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/ForventetDokumentasjonDto"}}} @@ -630,10 +591,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/ForventetDokumentasjonDto"}}} @@ -671,10 +629,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/VerdierDto"}}} @@ -723,10 +678,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/VerdierDto"}}} @@ -764,10 +716,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UtbetalingerDto"}}} @@ -816,10 +765,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UtbetalingerDto"}}} @@ -857,10 +803,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/StudielanDto"}}} @@ -900,10 +843,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/StudielanDto"}}} @@ -942,10 +882,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SkattbarInntektDto"}}} @@ -983,10 +920,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/FormueDto"}}} @@ -1026,10 +960,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/FormueDto"}}} @@ -1067,10 +998,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BostotteDto"}}} @@ -1110,10 +1038,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BostotteDto"}}} @@ -1159,10 +1084,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BostotteDto"}}} @@ -1200,10 +1122,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SivilstandDto"}}} @@ -1243,10 +1162,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SivilstandDto"}}} @@ -1284,10 +1200,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ForsorgerDto"}}} @@ -1327,10 +1240,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ForsorgerDto"}}} @@ -1368,10 +1278,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BosituasjonDto"}}} @@ -1411,10 +1318,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BosituasjonDto"}}} @@ -1452,10 +1356,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BegrunnelseDto"}}} @@ -1495,10 +1396,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BegrunnelseDto"}}} @@ -1536,10 +1434,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ArbeidDto"}}} @@ -1579,10 +1474,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ArbeidDto"}}} @@ -1620,10 +1512,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdresserDto"}}} @@ -1663,10 +1552,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdresserDto"}}} @@ -1704,10 +1590,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SoknadSendtDto"}}} @@ -1743,10 +1626,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -1803,10 +1683,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DokumentDto"}}} @@ -1844,10 +1721,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/PersonaliaDto"}}} @@ -1885,10 +1759,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SkattbarInntektDto"}}} @@ -1926,10 +1797,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/NavYtelseDto"}}} @@ -1976,10 +1844,7 @@ "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, "404": {"description": "Filen ble ikke funnet", "content": {}}, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "Dokumentet ble funnet og returneres", "content": {"application/octet-stream": {"schema": {"type": "string", "format": "binary"}}} @@ -2026,10 +1891,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -2070,10 +1932,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -2118,11 +1977,6 @@ "mapping": {"SoknadApiError": "#/components/schemas/SoknadApiError"} } }, - "UnauthorizedMelding": { - "required": ["loginUrl"], - "type": "object", - "properties": {"loginUrl": {"type": "string", "format": "uri"}} - }, "BoutgifterInput": {"type": "object"}, "HarBoutgifterInput": { "required": [ diff --git a/soknad-api-old.json b/soknad-api-old.json index b9877854f..cc1c264c3 100644 --- a/soknad-api-old.json +++ b/soknad-api-old.json @@ -31,10 +31,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BoutgifterFrontend"}}} @@ -72,10 +69,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -108,10 +102,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -151,10 +142,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -187,10 +175,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UtdanningFrontend"}}} @@ -228,10 +213,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -264,10 +246,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -309,10 +288,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -345,10 +321,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -388,10 +361,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -429,10 +399,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/KontonummerFrontend"}}} @@ -470,10 +437,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/KontonummerFrontend"}}} @@ -509,10 +473,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AdresserFrontend"}}} @@ -550,10 +511,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -593,10 +551,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/VedleggFrontends"}}} @@ -634,10 +589,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -670,10 +622,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/VerdierFrontend"}}} @@ -711,10 +660,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -747,10 +693,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -790,10 +733,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -826,10 +766,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/StudielanFrontend"}}} @@ -867,10 +804,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/StudielanFrontend"}}} @@ -906,10 +840,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -951,10 +882,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -992,10 +920,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/FormueFrontend"}}} @@ -1033,10 +958,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -1069,10 +991,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BostotteFrontend"}}} @@ -1110,10 +1029,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -1146,10 +1062,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -1189,10 +1102,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -1225,10 +1135,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -1270,10 +1177,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -1306,10 +1210,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -1349,10 +1250,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -1390,10 +1288,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -1433,10 +1328,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -1469,10 +1361,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -1512,10 +1401,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -1564,10 +1450,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "Vedlegg konvertert til PDF", "content": {"application/pdf": {"schema": {"type": "string", "format": "binary"}}} @@ -1614,10 +1497,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -1651,10 +1531,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} }, "deprecated": true @@ -1692,10 +1569,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -1731,10 +1605,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SendTilUrlFrontend"}}} @@ -1773,10 +1644,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -1828,10 +1696,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DokumentUpload"}}} @@ -1870,10 +1735,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -1911,10 +1773,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK", "content": {"application/json": {"schema": {"type": "boolean"}}}} } } @@ -1947,10 +1806,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK", "content": {"application/json": {"schema": {"type": "boolean"}}}} } } @@ -1983,10 +1839,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -2024,10 +1877,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Oppsummering"}}} @@ -2063,10 +1913,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK", "content": {"application/json": {"schema": {"type": "boolean"}}}} } } @@ -2099,10 +1946,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK", "content": {"application/json": {"schema": {"type": "boolean"}}}} } } @@ -2135,10 +1979,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -2179,10 +2020,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -2228,10 +2066,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK", "content": {"application/json": {"schema": {"type": "boolean"}}}} } } @@ -2268,10 +2103,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "Dokumentets innhold sendes til klienten", "content": {"application/octet-stream": {"schema": {"type": "string", "format": "binary"}}} @@ -2306,10 +2138,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/NedetidFrontend"}}} @@ -2344,10 +2173,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK", "content": {"application/json": {"schema": {"type": "string"}}}} } } @@ -2379,10 +2205,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -2421,10 +2244,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SelftestResult"}}} @@ -2459,10 +2279,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK", "content": {"text/plain": {"schema": {"type": "string"}}}} } } @@ -2494,10 +2311,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SessionResponse"}}} @@ -2533,10 +2347,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -2575,10 +2386,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -2617,10 +2425,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -2659,10 +2464,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": { "description": "OK", "content": { @@ -2705,10 +2507,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -2744,10 +2543,7 @@ "description": "Not Found", "content": {"*/*": {"schema": {"$ref": "#/components/schemas/SoknadApiError"}}} }, - "401": { - "description": "Unauthorized", - "content": {"*/*": {"schema": {"$ref": "#/components/schemas/UnauthorizedMelding"}}} - }, + "401": {"description": "Unauthorized", "content": {"*/*": {"schema": {"type": "object"}}}}, "200": {"description": "OK"} } } @@ -2792,11 +2588,6 @@ "mapping": {"SoknadApiError": "#/components/schemas/SoknadApiError"} } }, - "UnauthorizedMelding": { - "required": ["loginUrl"], - "type": "object", - "properties": {"loginUrl": {"type": "string", "format": "uri"}} - }, "BoutgifterFrontend": { "required": [ "annet", diff --git a/src/locales/nb/skjema.ts b/src/locales/nb/skjema.ts index 0be7e3daa..d18b72b08 100644 --- a/src/locales/nb/skjema.ts +++ b/src/locales/nb/skjema.ts @@ -164,7 +164,7 @@ export const skjema = { transport: "Transport", fritidsaktiviteter: "Fritidsaktiviteter for barn", kortKategorier: { - kategoriValg: "Velg besrkivelse", + kategoriValg: "Velg beskrivelse", barnebidrag: "Barnebidrag", barnehage: "Barnehage", barnehageSFO: "SFO/AKS", diff --git a/src/sider/08-vedlegg/upload/ForhandsvisningVedleggModal.tsx b/src/sider/08-vedlegg/upload/ForhandsvisningVedleggModal.tsx index eff41ff93..cfe2133f3 100644 --- a/src/sider/08-vedlegg/upload/ForhandsvisningVedleggModal.tsx +++ b/src/sider/08-vedlegg/upload/ForhandsvisningVedleggModal.tsx @@ -112,28 +112,28 @@ export const ForhandsvisningVedleggModal = ({ - - - - - - - -