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 } } }