From b06a3839c20bf7d85e65ed450d116cad0bcdfd2c Mon Sep 17 00:00:00 2001 From: Viacheslav Poturaev Date: Mon, 12 May 2025 20:47:15 +0200 Subject: [PATCH 1/2] Update deps --- _examples/go.mod | 6 +++--- _examples/go.sum | 12 ++++++------ go.mod | 6 +++--- go.sum | 12 +++++++----- 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/_examples/go.mod b/_examples/go.mod index b8ae9ba..d39d943 100644 --- a/_examples/go.mod +++ b/_examples/go.mod @@ -17,8 +17,8 @@ require ( github.com/rs/cors v1.11.1 github.com/stretchr/testify v1.9.0 github.com/swaggest/assertjson v1.9.0 - github.com/swaggest/jsonschema-go v0.3.73 - github.com/swaggest/openapi-go v0.2.57 + github.com/swaggest/jsonschema-go v0.3.77 + github.com/swaggest/openapi-go v0.2.58 github.com/swaggest/rest v0.0.0-00010101000000-000000000000 github.com/swaggest/swgui v1.8.2 github.com/swaggest/usecase v1.3.1 @@ -63,7 +63,7 @@ require ( github.com/segmentio/asm v1.2.0 // indirect github.com/sergi/go-diff v1.3.1 // indirect github.com/swaggest/form/v5 v5.1.1 // indirect - github.com/swaggest/refl v1.3.1 // indirect + github.com/swaggest/refl v1.4.0 // indirect github.com/twitchyliquid64/golang-asm v0.15.1 // indirect github.com/ugorji/go/codec v1.2.12 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect diff --git a/_examples/go.sum b/_examples/go.sum index 3e474b9..bed7bde 100644 --- a/_examples/go.sum +++ b/_examples/go.sum @@ -129,12 +129,12 @@ github.com/swaggest/assertjson v1.9.0 h1:dKu0BfJkIxv/xe//mkCrK5yZbs79jL7OVf9Ija7 github.com/swaggest/assertjson v1.9.0/go.mod h1:b+ZKX2VRiUjxfUIal0HDN85W0nHPAYUbYH5WkkSsFsU= github.com/swaggest/form/v5 v5.1.1 h1:ct6/rOQBGrqWUQ0FUv3vW5sHvTUb31AwTUWj947N6cY= github.com/swaggest/form/v5 v5.1.1/go.mod h1:X1hraaoONee20PMnGNLQpO32f9zbQ0Czfm7iZThuEKg= -github.com/swaggest/jsonschema-go v0.3.73 h1:gU1pBzF3pkZ1GDD3dRMdQoCjrA0sldJ+QcM7aSSPgvc= -github.com/swaggest/jsonschema-go v0.3.73/go.mod h1:qp+Ym2DIXHlHzch3HKz50gPf2wJhKOrAB/VYqLS2oJU= -github.com/swaggest/openapi-go v0.2.57 h1:ofY6NlZzix6LSMNIzfx74aa6U2OeyVmb6KEnkItT60U= -github.com/swaggest/openapi-go v0.2.57/go.mod h1:pWhyF7lAIBRW6UYAvCijYkhy7PEmD92y3DMefiAQiL8= -github.com/swaggest/refl v1.3.1 h1:XGplEkYftR7p9cz1lsiwXMM2yzmOymTE9vneVVpaOh4= -github.com/swaggest/refl v1.3.1/go.mod h1:4uUVFVfPJ0NSX9FPwMPspeHos9wPFlCMGoPRllUbpvA= +github.com/swaggest/jsonschema-go v0.3.77 h1:MSy0eFKB8pdzBNzA+tWGEDKLHpnLz39+q0U4eRo8dnY= +github.com/swaggest/jsonschema-go v0.3.77/go.mod h1:4nniXBuE+FIGkOGuidjOINMH7OEqZK3HCSbfDuLRI0g= +github.com/swaggest/openapi-go v0.2.58 h1:H9Nu9+XWGE1ZGU410iCg27R+d3Fhi9r3sOz1BCm5W/E= +github.com/swaggest/openapi-go v0.2.58/go.mod h1:jmFOuYdsWGtHU0BOuILlHZQJxLqHiAE6en+baE+QQUk= +github.com/swaggest/refl v1.4.0 h1:CftOSdTqRqs100xpFOT/Rifss5xBV/CT0S/FN60Xe9k= +github.com/swaggest/refl v1.4.0/go.mod h1:4uUVFVfPJ0NSX9FPwMPspeHos9wPFlCMGoPRllUbpvA= github.com/swaggest/swgui v1.8.2 h1:JGpRCLGLZ7EqTwHsBEOo//kx8CM7Rv3RchgvfNpB+6E= github.com/swaggest/swgui v1.8.2/go.mod h1:nkzGeyMfq5FstGGNJKr1LORvM4RdsjTmvWvqvyZeDDc= github.com/swaggest/usecase v1.3.1 h1:JdKV30MTSsDxAXxkldLNcEn8O2uf565khyo6gr5sS+w= diff --git a/go.mod b/go.mod index df9e867..3a9afb7 100644 --- a/go.mod +++ b/go.mod @@ -13,9 +13,9 @@ require ( github.com/stretchr/testify v1.8.2 github.com/swaggest/assertjson v1.9.0 github.com/swaggest/form/v5 v5.1.1 - github.com/swaggest/jsonschema-go v0.3.73 - github.com/swaggest/openapi-go v0.2.57 - github.com/swaggest/refl v1.3.1 + github.com/swaggest/jsonschema-go v0.3.77 + github.com/swaggest/openapi-go v0.2.58 + github.com/swaggest/refl v1.4.0 github.com/swaggest/usecase v1.3.1 ) diff --git a/go.sum b/go.sum index 259e102..3ede1ae 100644 --- a/go.sum +++ b/go.sum @@ -77,13 +77,15 @@ github.com/swaggest/assertjson v1.9.0 h1:dKu0BfJkIxv/xe//mkCrK5yZbs79jL7OVf9Ija7 github.com/swaggest/assertjson v1.9.0/go.mod h1:b+ZKX2VRiUjxfUIal0HDN85W0nHPAYUbYH5WkkSsFsU= github.com/swaggest/form/v5 v5.1.1 h1:ct6/rOQBGrqWUQ0FUv3vW5sHvTUb31AwTUWj947N6cY= github.com/swaggest/form/v5 v5.1.1/go.mod h1:X1hraaoONee20PMnGNLQpO32f9zbQ0Czfm7iZThuEKg= -github.com/swaggest/jsonschema-go v0.3.73 h1:gU1pBzF3pkZ1GDD3dRMdQoCjrA0sldJ+QcM7aSSPgvc= -github.com/swaggest/jsonschema-go v0.3.73/go.mod h1:qp+Ym2DIXHlHzch3HKz50gPf2wJhKOrAB/VYqLS2oJU= -github.com/swaggest/openapi-go v0.2.57 h1:ofY6NlZzix6LSMNIzfx74aa6U2OeyVmb6KEnkItT60U= -github.com/swaggest/openapi-go v0.2.57/go.mod h1:pWhyF7lAIBRW6UYAvCijYkhy7PEmD92y3DMefiAQiL8= +github.com/swaggest/jsonschema-go v0.3.74/go.mod h1:qp+Ym2DIXHlHzch3HKz50gPf2wJhKOrAB/VYqLS2oJU= +github.com/swaggest/jsonschema-go v0.3.77 h1:MSy0eFKB8pdzBNzA+tWGEDKLHpnLz39+q0U4eRo8dnY= +github.com/swaggest/jsonschema-go v0.3.77/go.mod h1:4nniXBuE+FIGkOGuidjOINMH7OEqZK3HCSbfDuLRI0g= +github.com/swaggest/openapi-go v0.2.58 h1:H9Nu9+XWGE1ZGU410iCg27R+d3Fhi9r3sOz1BCm5W/E= +github.com/swaggest/openapi-go v0.2.58/go.mod h1:jmFOuYdsWGtHU0BOuILlHZQJxLqHiAE6en+baE+QQUk= github.com/swaggest/refl v1.3.0/go.mod h1:3Ujvbmh1pfSbDYjC6JGG7nMgPvpG0ehQL4iNonnLNbg= -github.com/swaggest/refl v1.3.1 h1:XGplEkYftR7p9cz1lsiwXMM2yzmOymTE9vneVVpaOh4= github.com/swaggest/refl v1.3.1/go.mod h1:4uUVFVfPJ0NSX9FPwMPspeHos9wPFlCMGoPRllUbpvA= +github.com/swaggest/refl v1.4.0 h1:CftOSdTqRqs100xpFOT/Rifss5xBV/CT0S/FN60Xe9k= +github.com/swaggest/refl v1.4.0/go.mod h1:4uUVFVfPJ0NSX9FPwMPspeHos9wPFlCMGoPRllUbpvA= github.com/swaggest/usecase v1.3.1 h1:JdKV30MTSsDxAXxkldLNcEn8O2uf565khyo6gr5sS+w= github.com/swaggest/usecase v1.3.1/go.mod h1:cae3lDd5VDmM36OQcOOOdAlEDg40TiQYIp99S9ejWqA= github.com/yosuke-furukawa/json5 v0.1.2-0.20201207051438-cf7bb3f354ff h1:7YqG491bE4vstXRz1lD38rbSgbXnirvROz1lZiOnPO8= From a92bd0418190635fdf20ba0db560d24fa388d7a3 Mon Sep 17 00:00:00 2001 From: Viacheslav Poturaev Date: Tue, 13 May 2025 16:45:59 +0200 Subject: [PATCH 2/2] Update deps --- .../_testdata/openapi.json | 30 +++++++------- _examples/advanced/_testdata/openapi.json | 39 +++++++++---------- _examples/go.mod | 2 +- _examples/go.sum | 4 +- go.mod | 2 +- go.sum | 2 + 6 files changed, 38 insertions(+), 41 deletions(-) diff --git a/_examples/advanced-generic-openapi31/_testdata/openapi.json b/_examples/advanced-generic-openapi31/_testdata/openapi.json index 31d6331..4c273a5 100644 --- a/_examples/advanced-generic-openapi31/_testdata/openapi.json +++ b/_examples/advanced-generic-openapi31/_testdata/openapi.json @@ -430,7 +430,7 @@ }, { "name":"in_cookie","in":"cookie","description":"UUID in cookie.", - "schema":{"$ref":"#/components/schemas/UuidUUID","description":"UUID in cookie."} + "schema":{"$ref":"#/components/schemas/UuidUUID"} }, { "name":"X-Header","in":"header","description":"Simple scalar value in header.", @@ -466,7 +466,7 @@ "schema":{"description":"Simple scalar value in header.","type":"string"} } ], - "requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedJsonSliceReq"}}}}, + "requestBody":{"content":{"application/json":{"schema":{"items":{"type":"integer"},"type":"array"}}}}, "responses":{ "200":{ "description":"OK", @@ -645,10 +645,7 @@ }, { "name":"deep_object_filter","in":"query","description":"Deep object value in query params.", - "schema":{ - "$ref":"#/components/schemas/AdvancedDeepObjectFilter","description":"Deep object value in query params." - }, - "style":"deepObject","explode":true + "schema":{"$ref":"#/components/schemas/AdvancedDeepObjectFilter"},"style":"deepObject","explode":true } ], "responses":{ @@ -850,7 +847,8 @@ "AdvancedHeaderOutput":{"properties":{"inBody":{"deprecated":true,"type":"string"}},"type":"object"}, "AdvancedInfo":{ "properties":{ - "filename":{"type":"string"},"header":{"$ref":"#/components/schemas/TextprotoMIMEHeader"}, + "filename":{"type":"string"}, + "header":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":["object","null"]}, "inQuery":{"type":"integer"},"peek1":{"type":"string"},"peek2":{"type":"string"},"simple":{"type":"string"}, "size":{"format":"int64","type":"integer"} }, @@ -859,7 +857,10 @@ "AdvancedInfoType2":{ "properties":{ "filenames":{"items":{"type":"string"},"type":["array","null"]}, - "headers":{"items":{"$ref":"#/components/schemas/TextprotoMIMEHeader"},"type":["array","null"]}, + "headers":{ + "items":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"}, + "type":["array","null"] + }, "inQuery":{"type":"integer"},"peeks1":{"items":{"type":"string"},"type":["array","null"]}, "peeks2":{"items":{"type":"string"},"type":["array","null"]},"simple":{"type":"string"}, "sizes":{"items":{"format":"int64","type":"integer"},"type":["array","null"]} @@ -891,7 +892,7 @@ "additionalProperties":false, "properties":{ "id":{"type":"integer"},"name":{"type":"string"}, - "namedStruct":{"$ref":"#/components/schemas/AdvancedJSONPayloadType2","deprecated":true} + "namedStruct":{"$ref":"#/components/schemas/AdvancedJSONPayloadType2"} }, "type":"object" }, @@ -899,7 +900,7 @@ "additionalProperties":false, "properties":{ "id":{"type":"integer"},"name":{"type":"string"}, - "namedStruct":{"$ref":"#/components/schemas/AdvancedJSONPayloadType3","deprecated":true} + "namedStruct":{"$ref":"#/components/schemas/AdvancedJSONPayloadType3"} }, "type":"object" }, @@ -911,12 +912,11 @@ "AdvancedJSONPayload":{"additionalProperties":false,"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"}, "AdvancedJSONPayloadType2":{"additionalProperties":false,"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"}, "AdvancedJSONPayloadType3":{"additionalProperties":false,"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"}, - "AdvancedJSONSlicePayload":{"items":{"type":"integer"},"type":["array","null"]}, "AdvancedJsonFilter":{"properties":{"foo":{"maxLength":5,"type":"string"}},"type":"object"}, "AdvancedJsonMapReq":{"additionalProperties":{"format":"double","type":"number"},"type":"object"}, "AdvancedJsonOutput":{ "properties":{ - "data":{"$ref":"#/components/schemas/AdvancedJSONSlicePayload"},"inHeader":{"type":"string"}, + "data":{"items":{"type":"integer"},"type":["array","null"]},"inHeader":{"type":"string"}, "inQuery":{"type":"integer"} }, "type":"object" @@ -928,7 +928,6 @@ }, "type":"object" }, - "AdvancedJsonSliceReq":{"items":{"type":"integer"},"type":"array"}, "AdvancedOkResp":{"properties":{"status":{"type":"string"}},"type":"object"}, "AdvancedOutput":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"type":"object"}, "AdvancedOutputPortType2":{ @@ -985,8 +984,8 @@ "additionalProperties":false, "properties":{ "simple":{"description":"Simple scalar value in body.","type":"string"}, - "upload1":{"$ref":"#/components/schemas/MultipartFileHeader","description":"Upload with *multipart.FileHeader."}, - "upload2":{"$ref":"#/components/schemas/MultipartFile","description":"Upload with multipart.File."} + "upload1":{"$ref":"#/components/schemas/MultipartFileHeader"}, + "upload2":{"$ref":"#/components/schemas/MultipartFile"} }, "type":"object" }, @@ -1016,7 +1015,6 @@ }, "type":"object" }, - "TextprotoMIMEHeader":{"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"}, "UuidUUID":{"examples":["248df4b7-aa70-47b8-a036-33ac447e668d"],"format":"uuid","type":"string"} }, "securitySchemes":{"User":{"description":"Session cookie.","type":"apiKey","name":"sessid","in":"cookie"}} diff --git a/_examples/advanced/_testdata/openapi.json b/_examples/advanced/_testdata/openapi.json index 3af32e4..6925da6 100644 --- a/_examples/advanced/_testdata/openapi.json +++ b/_examples/advanced/_testdata/openapi.json @@ -54,12 +54,11 @@ "parameters":[ {"name":"bar","in":"query","schema":{"type":"string"}}, {"name":"type","in":"query","schema":{"type":"string"}}, - {"name":"foo","in":"header","schema":{"enum":["123","456","789"],"type":"integer"}} + {"name":"foo","in":"header","schema":{"enum":[123,456,789],"type":"integer"}} ], "responses":{ "200":{ - "description":"OK", - "headers":{"foo":{"style":"simple","schema":{"enum":["123","456","789"],"type":"integer"}}}, + "description":"OK","headers":{"foo":{"style":"simple","schema":{"enum":[123,456,789],"type":"integer"}}}, "content":{"application/dummy+json":{"schema":{"$ref":"#/components/schemas/DynOut123"}}} }, "400":{ @@ -84,13 +83,10 @@ "parameters":[ {"name":"bar","in":"query","schema":{"type":"string"}}, {"name":"type","in":"query","schema":{"type":"string"}}, - {"name":"foo","in":"header","schema":{"enum":["123","456","789"],"type":"integer"}} + {"name":"foo","in":"header","schema":{"enum":[123,456,789],"type":"integer"}} ], "responses":{ - "200":{ - "description":"OK", - "headers":{"foo":{"style":"simple","schema":{"enum":["123","456","789"],"type":"integer"}}} - }, + "200":{"description":"OK","headers":{"foo":{"style":"simple","schema":{"enum":[123,456,789],"type":"integer"}}}}, "400":{"description":"Bad Request"},"409":{"description":"Conflict"}, "412":{"description":"Precondition Failed"} }, @@ -342,7 +338,9 @@ "schema":{"type":"string","description":"Simple scalar value in header."} } ], - "requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedJsonMapReq"}}}}, + "requestBody":{ + "content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"number"},"nullable":true}}} + }, "responses":{ "200":{ "description":"OK", @@ -442,7 +440,7 @@ "schema":{"type":"string","description":"Simple scalar value in header."} } ], - "requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedJsonSliceReq"}}}}, + "requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"nullable":true}}}}, "responses":{ "200":{ "description":"OK", @@ -701,7 +699,8 @@ "AdvancedInfo":{ "type":"object", "properties":{ - "filename":{"type":"string"},"header":{"$ref":"#/components/schemas/TextprotoMIMEHeader"}, + "filename":{"type":"string"}, + "header":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"nullable":true}, "inQuery":{"type":"integer"},"peek1":{"type":"string"},"peek2":{"type":"string"},"simple":{"type":"string"}, "size":{"type":"integer"} } @@ -710,7 +709,10 @@ "type":"object", "properties":{ "filenames":{"type":"array","items":{"type":"string"},"nullable":true}, - "headers":{"type":"array","items":{"$ref":"#/components/schemas/TextprotoMIMEHeader"},"nullable":true}, + "headers":{ + "type":"array","items":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}, + "nullable":true + }, "inQuery":{"type":"integer"},"peeks1":{"type":"array","items":{"type":"string"},"nullable":true}, "peeks2":{"type":"array","items":{"type":"string"},"nullable":true},"simple":{"type":"string"}, "sizes":{"type":"array","items":{"type":"integer"},"nullable":true} @@ -741,7 +743,7 @@ "type":"object", "properties":{ "id":{"type":"integer"},"name":{"type":"string"}, - "namedStruct":{"allOf":[{"deprecated":true},{"$ref":"#/components/schemas/AdvancedJSONPayloadType2"}]} + "namedStruct":{"$ref":"#/components/schemas/AdvancedJSONPayloadType2"} }, "additionalProperties":false }, @@ -749,26 +751,22 @@ "type":"object","properties":{"id":{"minimum":100,"type":"integer"},"name":{"minLength":3,"type":"string"}}, "additionalProperties":false }, - "AdvancedJSONMapPayload":{"type":"object","additionalProperties":{"type":"number"}}, "AdvancedJSONPayload":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}, "AdvancedJSONPayloadType2":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"additionalProperties":false}, - "AdvancedJSONSlicePayload":{"type":"array","items":{"type":"integer"},"nullable":true}, - "AdvancedJsonMapReq":{"type":"object","additionalProperties":{"type":"number"},"nullable":true}, "AdvancedJsonOutput":{ "type":"object", "properties":{ - "data":{"$ref":"#/components/schemas/AdvancedJSONSlicePayload"},"inHeader":{"type":"string"}, + "data":{"type":"array","items":{"type":"integer"},"nullable":true},"inHeader":{"type":"string"}, "inQuery":{"type":"integer"} } }, "AdvancedJsonOutputType2":{ "type":"object", "properties":{ - "data":{"$ref":"#/components/schemas/AdvancedJSONMapPayload"},"inHeader":{"type":"string"}, - "inQuery":{"type":"integer"} + "data":{"type":"object","additionalProperties":{"type":"number"},"nullable":true}, + "inHeader":{"type":"string"},"inQuery":{"type":"integer"} } }, - "AdvancedJsonSliceReq":{"type":"array","items":{"type":"integer"},"nullable":true}, "AdvancedOkResp":{"type":"object","properties":{"status":{"type":"string"}}}, "AdvancedOutputPortType2":{ "required":["data"],"type":"object", @@ -836,7 +834,6 @@ "status":{"type":"string","description":"Status text."} } }, - "TextprotoMIMEHeader":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}, "UuidUUID":{"type":"string","format":"uuid","example":"248df4b7-aa70-47b8-a036-33ac447e668d"} }, "securitySchemes":{"User":{"type":"apiKey","name":"sessid","in":"cookie","description":"Session cookie."}} diff --git a/_examples/go.mod b/_examples/go.mod index d39d943..a9bc7ee 100644 --- a/_examples/go.mod +++ b/_examples/go.mod @@ -17,7 +17,7 @@ require ( github.com/rs/cors v1.11.1 github.com/stretchr/testify v1.9.0 github.com/swaggest/assertjson v1.9.0 - github.com/swaggest/jsonschema-go v0.3.77 + github.com/swaggest/jsonschema-go v0.3.78-0.20250512235213-e2a396853945 github.com/swaggest/openapi-go v0.2.58 github.com/swaggest/rest v0.0.0-00010101000000-000000000000 github.com/swaggest/swgui v1.8.2 diff --git a/_examples/go.sum b/_examples/go.sum index bed7bde..c9e5197 100644 --- a/_examples/go.sum +++ b/_examples/go.sum @@ -129,8 +129,8 @@ github.com/swaggest/assertjson v1.9.0 h1:dKu0BfJkIxv/xe//mkCrK5yZbs79jL7OVf9Ija7 github.com/swaggest/assertjson v1.9.0/go.mod h1:b+ZKX2VRiUjxfUIal0HDN85W0nHPAYUbYH5WkkSsFsU= github.com/swaggest/form/v5 v5.1.1 h1:ct6/rOQBGrqWUQ0FUv3vW5sHvTUb31AwTUWj947N6cY= github.com/swaggest/form/v5 v5.1.1/go.mod h1:X1hraaoONee20PMnGNLQpO32f9zbQ0Czfm7iZThuEKg= -github.com/swaggest/jsonschema-go v0.3.77 h1:MSy0eFKB8pdzBNzA+tWGEDKLHpnLz39+q0U4eRo8dnY= -github.com/swaggest/jsonschema-go v0.3.77/go.mod h1:4nniXBuE+FIGkOGuidjOINMH7OEqZK3HCSbfDuLRI0g= +github.com/swaggest/jsonschema-go v0.3.78-0.20250512235213-e2a396853945 h1:gmnoQvteMDZ1UrDsbmdqNJGVfJXmv/oIP0GfXMYclYo= +github.com/swaggest/jsonschema-go v0.3.78-0.20250512235213-e2a396853945/go.mod h1:4nniXBuE+FIGkOGuidjOINMH7OEqZK3HCSbfDuLRI0g= github.com/swaggest/openapi-go v0.2.58 h1:H9Nu9+XWGE1ZGU410iCg27R+d3Fhi9r3sOz1BCm5W/E= github.com/swaggest/openapi-go v0.2.58/go.mod h1:jmFOuYdsWGtHU0BOuILlHZQJxLqHiAE6en+baE+QQUk= github.com/swaggest/refl v1.4.0 h1:CftOSdTqRqs100xpFOT/Rifss5xBV/CT0S/FN60Xe9k= diff --git a/go.mod b/go.mod index 3a9afb7..57de1b6 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/stretchr/testify v1.8.2 github.com/swaggest/assertjson v1.9.0 github.com/swaggest/form/v5 v5.1.1 - github.com/swaggest/jsonschema-go v0.3.77 + github.com/swaggest/jsonschema-go v0.3.78-0.20250512235213-e2a396853945 github.com/swaggest/openapi-go v0.2.58 github.com/swaggest/refl v1.4.0 github.com/swaggest/usecase v1.3.1 diff --git a/go.sum b/go.sum index 3ede1ae..2ce7f01 100644 --- a/go.sum +++ b/go.sum @@ -80,6 +80,8 @@ github.com/swaggest/form/v5 v5.1.1/go.mod h1:X1hraaoONee20PMnGNLQpO32f9zbQ0Czfm7 github.com/swaggest/jsonschema-go v0.3.74/go.mod h1:qp+Ym2DIXHlHzch3HKz50gPf2wJhKOrAB/VYqLS2oJU= github.com/swaggest/jsonschema-go v0.3.77 h1:MSy0eFKB8pdzBNzA+tWGEDKLHpnLz39+q0U4eRo8dnY= github.com/swaggest/jsonschema-go v0.3.77/go.mod h1:4nniXBuE+FIGkOGuidjOINMH7OEqZK3HCSbfDuLRI0g= +github.com/swaggest/jsonschema-go v0.3.78-0.20250512235213-e2a396853945 h1:gmnoQvteMDZ1UrDsbmdqNJGVfJXmv/oIP0GfXMYclYo= +github.com/swaggest/jsonschema-go v0.3.78-0.20250512235213-e2a396853945/go.mod h1:4nniXBuE+FIGkOGuidjOINMH7OEqZK3HCSbfDuLRI0g= github.com/swaggest/openapi-go v0.2.58 h1:H9Nu9+XWGE1ZGU410iCg27R+d3Fhi9r3sOz1BCm5W/E= github.com/swaggest/openapi-go v0.2.58/go.mod h1:jmFOuYdsWGtHU0BOuILlHZQJxLqHiAE6en+baE+QQUk= github.com/swaggest/refl v1.3.0/go.mod h1:3Ujvbmh1pfSbDYjC6JGG7nMgPvpG0ehQL4iNonnLNbg=