Skip to content

Tweak post response codes rule to honor RPC#784

Merged
AkhilaIlla merged 6 commits into
mainfrom
akhilailla/tweak_post_response_codes_rule_to_honor_rpc
Oct 15, 2025
Merged

Tweak post response codes rule to honor RPC#784
AkhilaIlla merged 6 commits into
mainfrom
akhilailla/tweak_post_response_codes_rule_to_honor_rpc

Conversation

@AkhilaIlla

Copy link
Copy Markdown
Member

RPC supports 204 response without schema for LRO POST - https://github.com/cloud-and-ai-microsoft/resource-provider-contract/blob/master/v1.0/async-api-reference.md#202-accepted-and-location-headers

This PR tweaks PostResponseCodes rule to honor RPC.

Comment thread packages/rulesets/src/spectral/test/post-response-codes.test.ts
@tejaswiMinnu

tejaswiMinnu commented Aug 19, 2025

Copy link
Copy Markdown
Member

Can you update and sync branch with main. #Resolved

@AkhilaIlla

Copy link
Copy Markdown
Member Author

done


In reply to: 3201413763

Comment thread docs/post-response-codes.md Outdated
Comment thread packages/rulesets/generated/spectral/az-arm.js
Comment thread packages/rulesets/generated/spectral/az-arm.js
Comment thread packages/rulesets/src/spectral/functions/post-response-codes.ts
akhilailla added 2 commits September 4, 2025 10:46
… into akhilailla/tweak_post_response_codes_rule_to_honor_rpc
@AkhilaIlla AkhilaIlla merged commit 116b3d2 into main Oct 15, 2025
6 checks passed
@AkhilaIlla AkhilaIlla deleted the akhilailla/tweak_post_response_codes_rule_to_honor_rpc branch October 15, 2025 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants