From a46ac14418aa177267f86c4cb04dacbc59642e20 Mon Sep 17 00:00:00 2001 From: omerma Date: Tue, 12 Nov 2024 21:54:57 +0200 Subject: [PATCH] check tests --- internal/resources/web-api-practice/create.go | 6 ++---- internal/resources/web-api-practice/read.go | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/internal/resources/web-api-practice/create.go b/internal/resources/web-api-practice/create.go index 8879f43..ef0bcfb 100644 --- a/internal/resources/web-api-practice/create.go +++ b/internal/resources/web-api-practice/create.go @@ -67,10 +67,8 @@ func NewWebAPIPractice(ctx context.Context, c *api.Client, input models.CreateWe } SchemaValidation { id - OasSchema { - data - name - } + filename + data } } } diff --git a/internal/resources/web-api-practice/read.go b/internal/resources/web-api-practice/read.go index 430cdd0..64a6ecc 100644 --- a/internal/resources/web-api-practice/read.go +++ b/internal/resources/web-api-practice/read.go @@ -136,10 +136,8 @@ func GetWebAPIPractice(ctx context.Context, c *api.Client, id string) (models.We } SchemaValidation { id - OasSchema { - data - name - } + filename + data } } }