From 5d8a2ced70e626289abc74f892373bbf1939e685 Mon Sep 17 00:00:00 2001 From: Artem Azaraev Date: Wed, 16 Jul 2025 17:28:21 +0300 Subject: [PATCH 1/2] Fix CRUD API file schemes to crudapiplugin.apifile.schema.json --- .../.devproxy/customers-api.json | 2 +- samples/learn-copilot-me-plugin/products-api.json | 2 +- samples/northwinddb/categories-api.json | 2 +- samples/northwinddb/customers-api.json | 2 +- samples/northwinddb/employeeTerritories-api.json | 2 +- samples/northwinddb/employees-api.json | 2 +- samples/northwinddb/orderDetails-api.json | 2 +- samples/northwinddb/orders-api.json | 2 +- samples/northwinddb/products-api.json | 2 +- samples/northwinddb/regions-api.json | 2 +- samples/northwinddb/shippers-api.json | 2 +- samples/northwinddb/suppliers-api.json | 2 +- samples/northwinddb/territories-api.json | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/samples/demo-apicenter-minimalpermissions/.devproxy/customers-api.json b/samples/demo-apicenter-minimalpermissions/.devproxy/customers-api.json index b0f2cdd..544c11f 100644 --- a/samples/demo-apicenter-minimalpermissions/.devproxy/customers-api.json +++ b/samples/demo-apicenter-minimalpermissions/.devproxy/customers-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/customers", "dataFile": "customers-data.json", "actions": [ diff --git a/samples/learn-copilot-me-plugin/products-api.json b/samples/learn-copilot-me-plugin/products-api.json index 47fb183..57b8a7a 100644 --- a/samples/learn-copilot-me-plugin/products-api.json +++ b/samples/learn-copilot-me-plugin/products-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.1/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "auth": "entra", "entraAuthConfig": { "scopes": [ diff --git a/samples/northwinddb/categories-api.json b/samples/northwinddb/categories-api.json index 1daa313..266edb9 100644 --- a/samples/northwinddb/categories-api.json +++ b/samples/northwinddb/categories-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/categories", "dataFile": "categories-data.json", "actions": [ diff --git a/samples/northwinddb/customers-api.json b/samples/northwinddb/customers-api.json index b0d11a2..544c11f 100644 --- a/samples/northwinddb/customers-api.json +++ b/samples/northwinddb/customers-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/customers", "dataFile": "customers-data.json", "actions": [ diff --git a/samples/northwinddb/employeeTerritories-api.json b/samples/northwinddb/employeeTerritories-api.json index 3f092d5..64305f0 100644 --- a/samples/northwinddb/employeeTerritories-api.json +++ b/samples/northwinddb/employeeTerritories-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/employees", "dataFile": "employeeTerritories-data.json", "actions": [ diff --git a/samples/northwinddb/employees-api.json b/samples/northwinddb/employees-api.json index 87795a7..9f937f0 100644 --- a/samples/northwinddb/employees-api.json +++ b/samples/northwinddb/employees-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/employees", "dataFile": "employees-data.json", "actions": [ diff --git a/samples/northwinddb/orderDetails-api.json b/samples/northwinddb/orderDetails-api.json index ca8d477..2a5cb30 100644 --- a/samples/northwinddb/orderDetails-api.json +++ b/samples/northwinddb/orderDetails-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/orders", "dataFile": "orderDetails-data.json", "actions": [ diff --git a/samples/northwinddb/orders-api.json b/samples/northwinddb/orders-api.json index a1279e7..72c605e 100644 --- a/samples/northwinddb/orders-api.json +++ b/samples/northwinddb/orders-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/orders", "dataFile": "orders-data.json", "actions": [ diff --git a/samples/northwinddb/products-api.json b/samples/northwinddb/products-api.json index d845227..c563314 100644 --- a/samples/northwinddb/products-api.json +++ b/samples/northwinddb/products-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/products", "dataFile": "products-data.json", "actions": [ diff --git a/samples/northwinddb/regions-api.json b/samples/northwinddb/regions-api.json index b2083ad..b1658c7 100644 --- a/samples/northwinddb/regions-api.json +++ b/samples/northwinddb/regions-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/regions", "dataFile": "regions-data.json", "actions": [ diff --git a/samples/northwinddb/shippers-api.json b/samples/northwinddb/shippers-api.json index 9625016..deab87c 100644 --- a/samples/northwinddb/shippers-api.json +++ b/samples/northwinddb/shippers-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/shippers", "dataFile": "shippers-data.json", "actions": [ diff --git a/samples/northwinddb/suppliers-api.json b/samples/northwinddb/suppliers-api.json index 1ba3ebc..445e203 100644 --- a/samples/northwinddb/suppliers-api.json +++ b/samples/northwinddb/suppliers-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/suppliers", "dataFile": "suppliers-data.json", "actions": [ diff --git a/samples/northwinddb/territories-api.json b/samples/northwinddb/territories-api.json index 7a434a1..c4974cc 100644 --- a/samples/northwinddb/territories-api.json +++ b/samples/northwinddb/territories-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/territories", "dataFile": "territories-data.json", "actions": [ From e094355d9b16b013a40bbd51fac9d9ab9e7fcc39 Mon Sep 17 00:00:00 2001 From: Artem Azaraev Date: Thu, 17 Jul 2025 13:37:27 +0300 Subject: [PATCH 2/2] Revert schema's version to v0.29.2 --- .../.devproxy/customers-api.json | 2 +- samples/learn-copilot-me-plugin/products-api.json | 2 +- samples/northwinddb/categories-api.json | 2 +- samples/northwinddb/customers-api.json | 2 +- samples/northwinddb/employeeTerritories-api.json | 2 +- samples/northwinddb/employees-api.json | 2 +- samples/northwinddb/orderDetails-api.json | 2 +- samples/northwinddb/orders-api.json | 2 +- samples/northwinddb/products-api.json | 2 +- samples/northwinddb/regions-api.json | 2 +- samples/northwinddb/shippers-api.json | 2 +- samples/northwinddb/suppliers-api.json | 2 +- samples/northwinddb/territories-api.json | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/samples/demo-apicenter-minimalpermissions/.devproxy/customers-api.json b/samples/demo-apicenter-minimalpermissions/.devproxy/customers-api.json index 544c11f..b0f2cdd 100644 --- a/samples/demo-apicenter-minimalpermissions/.devproxy/customers-api.json +++ b/samples/demo-apicenter-minimalpermissions/.devproxy/customers-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/customers", "dataFile": "customers-data.json", "actions": [ diff --git a/samples/learn-copilot-me-plugin/products-api.json b/samples/learn-copilot-me-plugin/products-api.json index 57b8a7a..6c9a838 100644 --- a/samples/learn-copilot-me-plugin/products-api.json +++ b/samples/learn-copilot-me-plugin/products-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "auth": "entra", "entraAuthConfig": { "scopes": [ diff --git a/samples/northwinddb/categories-api.json b/samples/northwinddb/categories-api.json index 266edb9..f141662 100644 --- a/samples/northwinddb/categories-api.json +++ b/samples/northwinddb/categories-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/categories", "dataFile": "categories-data.json", "actions": [ diff --git a/samples/northwinddb/customers-api.json b/samples/northwinddb/customers-api.json index 544c11f..b0f2cdd 100644 --- a/samples/northwinddb/customers-api.json +++ b/samples/northwinddb/customers-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/customers", "dataFile": "customers-data.json", "actions": [ diff --git a/samples/northwinddb/employeeTerritories-api.json b/samples/northwinddb/employeeTerritories-api.json index 64305f0..bb5f951 100644 --- a/samples/northwinddb/employeeTerritories-api.json +++ b/samples/northwinddb/employeeTerritories-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/employees", "dataFile": "employeeTerritories-data.json", "actions": [ diff --git a/samples/northwinddb/employees-api.json b/samples/northwinddb/employees-api.json index 9f937f0..313b732 100644 --- a/samples/northwinddb/employees-api.json +++ b/samples/northwinddb/employees-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/employees", "dataFile": "employees-data.json", "actions": [ diff --git a/samples/northwinddb/orderDetails-api.json b/samples/northwinddb/orderDetails-api.json index 2a5cb30..4f3c7c3 100644 --- a/samples/northwinddb/orderDetails-api.json +++ b/samples/northwinddb/orderDetails-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/orders", "dataFile": "orderDetails-data.json", "actions": [ diff --git a/samples/northwinddb/orders-api.json b/samples/northwinddb/orders-api.json index 72c605e..75ef0d9 100644 --- a/samples/northwinddb/orders-api.json +++ b/samples/northwinddb/orders-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/orders", "dataFile": "orders-data.json", "actions": [ diff --git a/samples/northwinddb/products-api.json b/samples/northwinddb/products-api.json index c563314..8495201 100644 --- a/samples/northwinddb/products-api.json +++ b/samples/northwinddb/products-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/products", "dataFile": "products-data.json", "actions": [ diff --git a/samples/northwinddb/regions-api.json b/samples/northwinddb/regions-api.json index b1658c7..d86f30a 100644 --- a/samples/northwinddb/regions-api.json +++ b/samples/northwinddb/regions-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/regions", "dataFile": "regions-data.json", "actions": [ diff --git a/samples/northwinddb/shippers-api.json b/samples/northwinddb/shippers-api.json index deab87c..24fdfbc 100644 --- a/samples/northwinddb/shippers-api.json +++ b/samples/northwinddb/shippers-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/shippers", "dataFile": "shippers-data.json", "actions": [ diff --git a/samples/northwinddb/suppliers-api.json b/samples/northwinddb/suppliers-api.json index 445e203..af438bb 100644 --- a/samples/northwinddb/suppliers-api.json +++ b/samples/northwinddb/suppliers-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/suppliers", "dataFile": "suppliers-data.json", "actions": [ diff --git a/samples/northwinddb/territories-api.json b/samples/northwinddb/territories-api.json index c4974cc..3371cd2 100644 --- a/samples/northwinddb/territories-api.json +++ b/samples/northwinddb/territories-api.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/crudapiplugin.apifile.schema.json", + "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.29.2/crudapiplugin.apifile.schema.json", "baseUrl": "https://api.northwind.com/territories", "dataFile": "territories-data.json", "actions": [