You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I correctly understood the cause of the linter warning,
this isn't really a bad thing that needs warnings,
since its a secret property (look for "x-ms-secret"):
❌ PutRequestResponseSchemeArm | A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'ApiKeys_CreateOrUpdate' Request Model: 'parameters[4].schema' Response Model: 'responses[200].schema'Location: NGINX.NGINXPLUS/preview/2024-09-01-preview/swagger.json#L30 | RPC-Put-V1-25
-- | -- | --
❌ PutRequestResponseSchemeArm | A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'Configurations_CreateOrUpdate' Request Model: 'parameters[5].schema' Response Model: 'responses[200].schema'Location: NGINX.NGINXPLUS/preview/2024-09-01-preview/swagger.json#L558 | RPC-Put-V1-2
The text was updated successfully, but these errors were encountered:
Describe the bug
If I correctly understood the cause of the linter warning,
this isn't really a bad thing that needs warnings,
since its a secret property (look for "x-ms-secret"):
https://github.com/Azure/azure-rest-api-specs-pr/blob/df5a3d3ae66802afb6c00cca11a42487d5eae2a0/specification/nginx/resource-manager/NGINX.NGINXPLUS/preview/2024-09-01-preview/swagger.json#L1269
❌ PutRequestResponseSchemeArm | A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'ApiKeys_CreateOrUpdate' Request Model: 'parameters[4].schema' Response Model: 'responses[200].schema'Location: NGINX.NGINXPLUS/preview/2024-09-01-preview/swagger.json#L30 | RPC-Put-V1-25 -- | -- | -- ❌ PutRequestResponseSchemeArm | A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'Configurations_CreateOrUpdate' Request Model: 'parameters[5].schema' Response Model: 'responses[200].schema'Location: NGINX.NGINXPLUS/preview/2024-09-01-preview/swagger.json#L558 | RPC-Put-V1-2The text was updated successfully, but these errors were encountered: