updae the graph v1.0 service url

This commit is contained in:
Sam Xu 2018-01-19 10:55:11 -08:00
parent 5292794f4b
commit aa4eb0bd03
5 changed files with 9 additions and 9 deletions

View file

@ -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": {

View file

@ -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:

View file

@ -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"
],

View file

@ -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:

View file

@ -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);