Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new spec for URI template #673

Merged
merged 12 commits into from
Aug 29, 2024
Merged

Add new spec for URI template #673

merged 12 commits into from
Aug 29, 2024

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Aug 8, 2024

Cadl Ranch Contribution Checklist:

  • I have written a scenario spec
  • I have meaningful @scenario names. Someone can look at the list of scenarios and understand what I'm covering.
  • I have written a mock API
  • I have used @scenarioDocs for extra scenario description and to tell people how to pass my mock api check.

There is a lot of new scenario covering all the cases. The goal is not necessarily that all emitter should support all the cases immediately but this will then help keeping track of uri template support across emitter

resolve: #666
resolve: #665

Copy link

changeset-bot bot commented Aug 8, 2024

🦋 Changeset detected

Latest commit: f178d6f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@azure-tools/cadl-ranch-specs Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@weidongxu-microsoft weidongxu-microsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except one question at #673 (comment)

I didn't check the detailed mockapi impl. I guess the first dev impl these tests in emitter would make the runtime check.

packages/cadl-ranch-specs/http/routes/main.tsp Outdated Show resolved Hide resolved
packages/cadl-ranch-specs/http/routes/main.tsp Outdated Show resolved Hide resolved
packages/cadl-ranch-specs/http/routes/main.tsp Outdated Show resolved Hide resolved
packages/cadl-ranch-specs/http/routes/main.tsp Outdated Show resolved Hide resolved
@timotheeguerin timotheeguerin enabled auto-merge (squash) August 29, 2024 14:01
@timotheeguerin timotheeguerin merged commit af944a7 into main Aug 29, 2024
8 of 9 checks passed
@timotheeguerin timotheeguerin deleted the uri-templates branch August 29, 2024 15:21
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.

Support explode in Query Scenario tests Support AllowReserved in Path Scenario tests
6 participants