Skip to content

Commit bbd29db

Browse files
jianyexiraych1
andauthored
Update ci-fix.md (#19756)
* Update ci-fix.md * Update ci-fix.md Updated link of oav readme. Co-authored-by: Ray Chen <[email protected]>
1 parent c7db251 commit bbd29db

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

documentation/ci-fix.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ Run Model Validation locally:
3333
npm install -g oav
3434
oav validate-example <swagger-spec-path>
3535
```
36-
Please see [readme](https://github.com/Azure/oav/blob/master/README.md) for how to install or run tool in details.
36+
Please see [readme](https://github.com/Azure/oav/blob/bd04e228b4181c53769ed88e561dec5212e77253/README.md) for how to install or run tool in details.
3737
Or you can run it in [OpenAPI Hub](https://portal.azure-devex-tools.com/tools/static-validation/static/errors/default).
38-
Refer to [Semantic and Model Violations Reference](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/Semantic-and-Model-Violations-Reference.md) for detailed description of validations and how-to-fix guidance.
38+
Refer to [Semantic and Model Violations Reference](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/Semantic-and-Model-Violations-Reference.md) for detailed description of validations and how-to-fix guidance.
3939
Refer to [Swagger-Example-Generation](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/393/Swagger-Example-Generation) for example automatic generation.
4040

4141
## Semantic Validation
@@ -44,9 +44,9 @@ Run Semantic Validation locally:
4444
npm install -g oav
4545
oav validate-spec <swagger-spec-path>
4646
```
47-
Please see [readme](https://github.com/Azure/oav/blob/master/README.md) for how to install or run tool in details.
47+
Please see [readme](https://github.com/Azure/oav/blob/bd04e228b4181c53769ed88e561dec5212e77253/README.md) for how to install or run tool in details.
4848
Or you can run it in [OpenAPI Hub](https://portal.azure-devex-tools.com/tools/static-validation/static/errors/default)
49-
Refer to [Semantic and Model Violations Reference](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/Semantic-and-Model-Violations-Reference.md) for detailed description of validations and how-to-fix guidance.
49+
Refer to [Semantic and Model Violations Reference](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/Semantic-and-Model-Violations-Reference.md) for detailed description of validations and how-to-fix guidance.
5050

5151
## Breaking Change Check
5252
- An API contract is identified by its api-version value. Once published, no changes to this API contract are allowed. This applies regardless of whether the API contract is for private preview, public preview, or GA (stable).
@@ -65,9 +65,9 @@ run oad locally (the breaking change is reported by oad tool):
6565
npm install -g @azure/oad
6666
oad compare <old-spec-path> <new-spec-path>
6767
```
68-
Please see [readme](https://github.com/Azure/openapi-diff/blob/master/README.md) for how to install or run tool in details.
68+
Please see [readme](https://github.com/Azure/openapi-diff/blob/main/README.md) for how to install or run tool in details.
6969
Or you can run it in [OpenAPI Hub](https://portal.azure-devex-tools.com/tools/diff).
70-
Refer to [Oad Docs](https://github.com/Azure/openapi-diff/tree/master/docs) for detailed description of all oad rules.
70+
Refer to [Oad Docs](https://github.com/Azure/openapi-diff/tree/main/docs) for detailed description of all oad rules.
7171

7272
## Linter Diff Validation
7373

@@ -86,9 +86,9 @@ autorest --validation --azure-validator [email protected]/classic-openapi-v
8686
autorest --validation --azure-validator [email protected]/classic-openapi-validator@latest [email protected]/openapi-validator@latest [--tag=<readme tag>] <path-to-readme>
8787
```
8888

89-
Please see [readme](https://github.com/Azure/azure-openapi-validator/blob/master/README.md) for how to install or run tool in details.
89+
Please see [readme](https://github.com/Azure/azure-openapi-validator/blob/main/README.md) for how to install or run tool in details.
9090
Or you can run it in [OpenAPI Hub](https://portal.azure-devex-tools.com/tools/linter).
91-
Refer to [openapi-authoring-automated-guidelines](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md) for detailed description of all lint rules and how-to-fix guidance.
91+
Refer to [openapi-authoring-automated-guidelines](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/openapi-authoring-automated-guidelines.md) for detailed description of all lint rules and how-to-fix guidance.
9292

9393
## Avocado
9494

@@ -115,7 +115,7 @@ Refer to [Avocado Readme](https://github.com/Azure/avocado/blob/master/README.md
115115
This CI check is to run [autorest.modelerfour](https://github.com/Azure/autorest.modelerfour) for each changing tag in a PR.
116116
Since the code generators of track2 SDK are based on the autorest.modelerfour, it's recommended ensure this validation is passed without any error and warning.
117117
The `modelerfour` has several plugins. If a plugin report an error, you can refer to the following plugin documentations:
118-
- [PreChecker](https://github.com/Azure/autorest/blob/master/docs/openapi/prechecker.md)
118+
- [PreChecker](https://github.com/Azure/autorest/blob/main/docs/openapi/prechecker.md)
119119

120120
### Run locally:
121121

0 commit comments

Comments
 (0)