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 some info about documentation/samplefiles* and documentation/api-scenario #28601

Merged
merged 6 commits into from
Apr 15, 2024

Conversation

konrad-jamrozik
Copy link

@konrad-jamrozik konrad-jamrozik commented Apr 5, 2024

As in subject. At first I planned to delete the samplefiles* and api-scenario directories, but conversation of this PR led me to instead update the information about them.

Related work:

Copy link

openapi-pipeline-app bot commented Apr 5, 2024

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app bot commented Apr 5, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️⌛Automated merging requirements met pending [Detail]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Apr 5, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Apr 5, 2024

PR validation pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment.

@konrad-jamrozik konrad-jamrozik changed the title Remove obsolete samplefiles and api-scenario Delete obsolete documentation/samplefiles* and documentation/api-scenario Apr 5, 2024
@konrad-jamrozik konrad-jamrozik self-assigned this Apr 5, 2024
@maririos maririos requested a review from raych1 April 5, 2024 21:11
@maririos
Copy link
Member

maririos commented Apr 5, 2024

As a sanity check, adding @raych1 for the SDK automation references


## Install

`oav` is an open-source powerful tool for swagger validation, API Scenario testing, and examples generation. GitHub: https://github.com/Azure/oav.
Copy link
Author

@konrad-jamrozik konrad-jamrozik Apr 5, 2024

Choose a reason for hiding this comment

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

@scbedd given that you own oav: do you recall if it is still being used to power api-scenario ? If so, can you have a look at these docs to assess if they appear to be up-to-date?

Copy link
Member

Choose a reason for hiding this comment

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

Yes I know OAV supports example generation. It is also used to produce coverage reports for specs.

Copy link
Author

@konrad-jamrozik konrad-jamrozik Apr 8, 2024

Choose a reason for hiding this comment

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

@weshaggard so we still use api-scenario functionality, yes?

From the README:

API Scenario is a YAML file defining RESTful API usage scenarios of your service with a sequence of API calls. API scenario can be used for service API functional test, API quality validation and SDK/CLIs test generation.

Copy link
Author

Choose a reason for hiding this comment

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

In any case, I reverted deletions in documentation/api-scenario/.

@konrad-jamrozik konrad-jamrozik force-pushed the users/kojamroz/del_obs_samples branch 2 times, most recently from d68a625 to 0d5879e Compare April 8, 2024 20:46
@konrad-jamrozik konrad-jamrozik changed the title Delete obsolete documentation/samplefiles* and documentation/api-scenario Delete obsolete files in documentation/samplefiles* Apr 8, 2024
@@ -1,34 +0,0 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/documentation/api-scenario/references/v1.2/schema.json
Copy link
Member

Choose a reason for hiding this comment

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

This doc is used as the quick start for API scenarios. If you keep the API scenario docs, this one should be reverted too.

Copy link
Member

@raych1 raych1 left a comment

Choose a reason for hiding this comment

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

@konrad-jamrozik , can you share me where the sample readme goes?

@konrad-jamrozik
Copy link
Author

konrad-jamrozik commented Apr 10, 2024

@raych1
Copy link
Member

raych1 commented Apr 10, 2024

@konrad-jamrozik , can you share me where the sample readme goes?

@raychen1 I am unsure what you mean. I didn't delete the sample readme, which is here:

@konrad-jamrozik , thanks. Can you keep the files under documentation/samplefiles-dp/? The readme files for both multiple clients and single client are still valid.

@konrad-jamrozik konrad-jamrozik force-pushed the users/kojamroz/del_obs_samples branch 2 times, most recently from 57ec311 to a04a827 Compare April 15, 2024 22:40
@konrad-jamrozik konrad-jamrozik changed the title Delete obsolete files in documentation/samplefiles* Add some info about documentation/samplefiles* and documentation-api-scenario Apr 15, 2024
@konrad-jamrozik konrad-jamrozik changed the title Add some info about documentation/samplefiles* and documentation-api-scenario Add some info about documentation/samplefiles* and documentation/api-scenario Apr 15, 2024
Konrad Jamrozik added 2 commits April 15, 2024 16:11
@konrad-jamrozik konrad-jamrozik merged commit 5511728 into main Apr 15, 2024
32 checks passed
@konrad-jamrozik konrad-jamrozik deleted the users/kojamroz/del_obs_samples branch April 15, 2024 23:39
tjprescott pushed a commit that referenced this pull request Apr 17, 2024
…pi-scenario` (#28601)

* ongoing

* ongoing

* update

* ongoing

* ongoing

* better links
wiboris pushed a commit to wiboris/azure-rest-api-specs that referenced this pull request May 7, 2024
…pi-scenario` (Azure#28601)

* ongoing

* ongoing

* update

* ongoing

* ongoing

* better links
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.

4 participants