updae the graph v1.0 service url
This commit is contained in:
parent
5292794f4b
commit
aa4eb0bd03
|
@ -2,12 +2,12 @@
|
|||
"openapi": "3.0.1",
|
||||
"info": {
|
||||
"title": "OData Service for namespace microsoft.graph",
|
||||
"description": "This OData service is located at https://graph.microsoft.com/1.0",
|
||||
"description": "This OData service is located at https://graph.microsoft.com/v1.0",
|
||||
"version": "1.0.1"
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://graph.microsoft.com/1.0"
|
||||
"url": "https://graph.microsoft.com/v1.0"
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
openapi: 3.0.1
|
||||
info:
|
||||
title: OData Service for namespace microsoft.graph
|
||||
description: This OData service is located at https://graph.microsoft.com/1.0
|
||||
description: This OData service is located at https://graph.microsoft.com/v1.0
|
||||
version: 1.0.1
|
||||
servers:
|
||||
- url: https://graph.microsoft.com/1.0
|
||||
- url: https://graph.microsoft.com/v1.0
|
||||
paths:
|
||||
/directoryObjects:
|
||||
get:
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
"swagger": "2.0",
|
||||
"info": {
|
||||
"title": "OData Service for namespace microsoft.graph",
|
||||
"description": "This OData service is located at https://graph.microsoft.com/1.0",
|
||||
"description": "This OData service is located at https://graph.microsoft.com/v1.0",
|
||||
"version": "1.0.1"
|
||||
},
|
||||
"host": "graph.microsoft.com",
|
||||
"basePath": "/1.0",
|
||||
"basePath": "/v1.0",
|
||||
"schemes": [
|
||||
"https"
|
||||
],
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
swagger: '2.0'
|
||||
info:
|
||||
title: OData Service for namespace microsoft.graph
|
||||
description: This OData service is located at https://graph.microsoft.com/1.0
|
||||
description: This OData service is located at https://graph.microsoft.com/v1.0
|
||||
version: 1.0.1
|
||||
host: graph.microsoft.com
|
||||
basePath: /1.0
|
||||
basePath: /v1.0
|
||||
schemes:
|
||||
- https
|
||||
paths:
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace UpdateDocs
|
|||
}
|
||||
else if (fileName.Contains("graph1.0"))
|
||||
{
|
||||
settings.ServiceRoot = new Uri("https://graph.microsoft.com/1.0");
|
||||
settings.ServiceRoot = new Uri("https://graph.microsoft.com/v1.0");
|
||||
}
|
||||
|
||||
OpenApiDocument document = model.ConvertToOpenApi(settings);
|
||||
|
|
Loading…
Reference in a new issue