Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .azure-pipelines/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ trigger:
include:
- main
- support/v1
- support/v2
tags:
include:
- 'v*'
Expand All @@ -16,6 +17,7 @@ pr:
include:
- main
- support/v1
- support/v2

variables:
buildPlatform: 'Any CPU'
Expand Down
36 changes: 36 additions & 0 deletions .github/policies/OpenAPI.NET.OData-branch-protection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,42 @@ configuration:
# This branch pattern applies to the following branches as of 06/09/2024 20:45:44:
# support/v1

# Specifies whether this branch can be deleted. boolean
allowsDeletions: false
# Specifies whether forced pushes are allowed on this branch. boolean
allowsForcePushes: false
# Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
dismissStaleReviews: true
# Specifies whether admins can overwrite branch protection. boolean
isAdminEnforced: false
# Indicates whether "Require a pull request before merging" is enabled. boolean
requiresPullRequestBeforeMerging: true
# Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
requiredApprovingReviewsCount: 1
# Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
requireCodeOwnersReview: true
# Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
requiresCommitSignatures: false
# Are conversations required to be resolved before merging? boolean
requiresConversationResolution: true
# Are merge commits prohibited from being pushed to this branch. boolean
requiresLinearHistory: false
# Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
requiredStatusChecks:
- license/cla
- Continuous Integration
- CodeQL
# Require branches to be up to date before merging. This should be false since the repo contains autogenerated files. boolean
requiresStrictStatusChecks: false
# Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
restrictsPushes: false
# Restrict who can dismiss pull request reviews. boolean
restrictsReviewDismissals: false

- branchNamePattern: support/v2
# This branch pattern applies to the following branches as of 06/09/2024 20:45:44:
# support/v1

# Specifies whether this branch can be deleted. boolean
allowsDeletions: false
# Specifies whether forced pushes are allowed on this branch. boolean
Expand Down
3 changes: 3 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ primaryBranch: main
handleGHRelease: true
branches:
- branch: support/v1
manifest: true
handleGHRelease: true
- branch: support/v2
manifest: true
handleGHRelease: true
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ main, support/v1 ]
branches: [ main, support/v1, support/v2 ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, support/v1 ]
branches: [ main, support/v1, support/v2 ]
schedule:
- cron: '32 2 * * 6'
workflow_dispatch:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-please-gha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
branches:
- main
- support/v1
- support/v2

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- support/v1
- support/v2
paths-ignore: ['.vscode/**']
pull_request:
types: [opened, synchronize, reopened]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-descriptions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: OpenAPI Parser Validation for latest OpenAPI docs

on:
push:
branches: [ main, support/v1 ]
branches: [ main, support/v1, support/v2 ]
pull_request:
branches: [ main, support/v1 ]
branches: [ main, support/v1, support/v2 ]

jobs:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static void AddErrorResponses(this OpenApiOperation operation, OpenApiCon
response = new()
{
Description = Constants.Success,
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static IList<IOpenApiParameter> CreateParameters(this ODataContext contex
Required = true,

// Create schema in the Content property to indicate that the parameters are serialized as JSON
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ internal static class OpenApiRequestBodyGenerator
{
Description = "Action parameters",
Required = true,
Content = new Dictionary<string, OpenApiMediaType>()
Content = new Dictionary<string, IOpenApiMediaType>()
};

requestBody.Content.Add(Constants.ApplicationJsonMediaType, new OpenApiMediaType
Expand Down Expand Up @@ -123,7 +123,7 @@ private static OpenApiRequestBody CreateRefPostRequestBody(OpenApiDocument docum
{
Required = true,
Description = "New navigation property ref value",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType, new OpenApiMediaType
Expand All @@ -148,7 +148,7 @@ private static OpenApiRequestBody CreateRefPutRequestBody(OpenApiDocument docume
{
Required = true,
Description = "New navigation property ref values",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType, new OpenApiMediaType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@

OpenApiResponses responses = new();

if (operation.IsAction() && operation.ReturnType == null && Constants.StatusCode204.GetResponse(document) is {} x204Response)

Check warning on line 120 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Continuous Integration

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'

Check warning on line 120 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'

Check warning on line 120 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Continuous Integration

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'

Check warning on line 120 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Build

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'
{
responses.Add(Constants.StatusCode204, x204Response);
}
Expand Down Expand Up @@ -150,11 +150,11 @@

public static OpenApiResponse? CreateOperationResponse(this ODataContext context, IEdmOperation operation, OpenApiDocument document)
{
if (operation.ReturnType == null)

Check warning on line 153 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Continuous Integration

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'

Check warning on line 153 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'

Check warning on line 153 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Continuous Integration

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'

Check warning on line 153 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Build

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'
return null;

IOpenApiSchema schema;
if (operation.ReturnType.IsCollection())

Check warning on line 157 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Continuous Integration

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'

Check warning on line 157 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Build

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'
{
OpenApiSchema baseSchema = new()
{
Expand All @@ -162,7 +162,7 @@
Properties = new Dictionary<string, IOpenApiSchema>
{
{
"value", context.CreateEdmTypeSchema(operation.ReturnType, document)

Check warning on line 165 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Continuous Integration

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'

Check warning on line 165 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Build

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'
}
}
};
Expand Down Expand Up @@ -202,12 +202,12 @@

if (schema is OpenApiSchema openApiSchema)
{
openApiSchema.Title = operation.ReturnType.Definition.AsElementType() is not IEdmEntityType entityType

Check warning on line 205 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Build

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'
? null : $"Collection of {entityType.Name}";
openApiSchema.Type = JsonSchemaType.Object;
}
}
else if (operation.ReturnType.IsPrimitive())

Check warning on line 210 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Build

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'
{
// A property or operation response that is of a primitive type is represented as an object with a single name/value pair,
// whose name is value and whose value is a primitive value.
Expand All @@ -217,14 +217,14 @@
Properties = new Dictionary<string, IOpenApiSchema>
{
{
"value", context.CreateEdmTypeSchema(operation.ReturnType, document)

Check warning on line 220 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Build

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'
}
}
};
}
else
{
schema = context.CreateEdmTypeSchema(operation.ReturnType, document);

Check warning on line 227 in src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiResponseGenerator.cs

View workflow job for this annotation

GitHub Actions / Build

'IEdmOperation.ReturnType' is obsolete: 'Use 'GetReturn()' to get 'IEdmOperationReturn'. This will be dropped in the 9.x release when 'IEdmOperation' exposes 'IEdmOperationReturn' directly. See: https://github.com/OData/odata.net/issues/3085'
}

string? mediaType = Constants.ApplicationJsonMediaType;
Expand All @@ -242,7 +242,7 @@
OpenApiResponse response = new()
{
Description = "Success",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
mediaType,
Expand All @@ -267,7 +267,7 @@
return new OpenApiResponse
{
Description = "Retrieved collection",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType,
Expand All @@ -286,7 +286,7 @@
return new OpenApiResponse
{
Description = "The count of the resource",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
"text/plain",
Expand All @@ -305,7 +305,7 @@
return new OpenApiResponse
{
Description = "error",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.OData.Edm" Version="8.4.2" />
<PackageReference Include="Microsoft.OpenApi" Version="2.3.9" />
<PackageReference Include="Microsoft.OpenApi" Version="3.0.0" />
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected override void SetRequestBody(OpenApiOperation operation)
{
Required = true,
Description = "New property values",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType, new OpenApiMediaType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected override void SetRequestBody(OpenApiOperation operation)
{
Required = true,
Description = "New property values",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType, new OpenApiMediaType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected override void SetResponses(OpenApiOperation operation)
new OpenApiResponse
{
Description = "Retrieved entity",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ protected override void AppendCustomParameters(OpenApiOperation operation)
/// Get the entity content description.
/// </summary>
/// <returns>The entity content description.</returns>
private Dictionary<string, OpenApiMediaType> GetContentDescription()
private Dictionary<string, IOpenApiMediaType> GetContentDescription()
{
var schema = GetEntitySchema();
var content = new Dictionary<string, OpenApiMediaType>();
var content = new Dictionary<string, IOpenApiMediaType>();

if (EntitySet is {EntityType.HasStream: true})
{
Expand All @@ -145,7 +145,7 @@ private Dictionary<string, OpenApiMediaType> GetContentDescription()
{
foreach (string item in mediaTypes)
{
content.Add(item, new());
content.Add(item, new OpenApiMediaType());
}
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ protected override void SetRequestBody(OpenApiOperation operation)
base.SetRequestBody(operation);
}

protected Dictionary<string, OpenApiMediaType> GetContent()
protected Dictionary<string, IOpenApiMediaType> GetContent()
{
var schema = GetOpenApiSchema();
var content = new Dictionary<string, OpenApiMediaType>();
var content = new Dictionary<string, IOpenApiMediaType>();

// Add the annotated request content media types
if (_updateRestrictions?.RequestContentTypes is {} mediaTypes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ protected string GetOperationId(string prefix, string identifier)
/// Gets a media entity content description.
/// </summary>
/// <returns>The entity content description.</returns>
protected Dictionary<string, OpenApiMediaType> GetContentDescription()
protected Dictionary<string, IOpenApiMediaType> GetContentDescription()
{
// Fetch the respective AcceptableMediaTypes
(_, var property) = GetStreamElements();
Expand All @@ -174,7 +174,7 @@ protected Dictionary<string, OpenApiMediaType> GetContentDescription()
Format = "binary"
};

var content = new Dictionary<string, OpenApiMediaType>();
var content = new Dictionary<string, IOpenApiMediaType>();
if (property is not null &&
Context?.Model.GetCollection(property,
CoreConstants.AcceptableMediaTypes) is {} mediaTypes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected override void SetResponses(OpenApiOperation operation)
new OpenApiResponse
{
Description = "Retrieved metadata document",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationXmlMediaType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected override void SetResponses(OpenApiOperation operation)
new OpenApiResponse
{
Description = "Retrieved navigation property",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ protected override void SetExternalDocs(OpenApiOperation operation)
}
}

protected Dictionary<string, OpenApiMediaType> GetContent(IOpenApiSchema? schema = null, IEnumerable<string>? mediaTypes = null)
protected Dictionary<string, IOpenApiMediaType> GetContent(IOpenApiSchema? schema = null, IEnumerable<string>? mediaTypes = null)
{
schema ??= GetOpenApiSchema();
var content = new Dictionary<string, OpenApiMediaType>();
var content = new Dictionary<string, IOpenApiMediaType>();

if (mediaTypes != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ internal void SetSingleResponse(OpenApiOperation operation, IOpenApiSchema schem
new OpenApiResponse
{
Description = "Entity result.",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected override void SetResponses(OpenApiOperation operation)
new OpenApiResponse
{
Description = "Retrieved navigation property link",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ protected override void SetResponses(OpenApiOperation operation)
new OpenApiResponse
{
Description = "Retrieved entity",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected override void SetRequestBody(OpenApiOperation operation)
{
Required = true,
Description = "New property values",
Content = new Dictionary<string, OpenApiMediaType>
Content = new Dictionary<string, IOpenApiMediaType>
{
{
Constants.ApplicationJsonMediaType, new OpenApiMediaType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public void CreateResponseForEdmFunctionReturnCorrectResponses(bool isFunctionIm

var response = responses["200"];
Assert.NotNull(response.Content);
OpenApiMediaType mediaType = response.Content["application/json"];
OpenApiMediaType mediaType = Assert.IsType<OpenApiMediaType>(response.Content["application/json"]);
// openApi version 2 should not use AnyOf
if (specVersion == OpenApiSpecVersion.OpenApi2_0)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.1.1",
"openapi": "3.1.2",
"info": {
"title": "OData Service for namespace DefaultNs",
"description": "This OData service is located at http://localhost",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openapi: '3.1.1'
openapi: '3.1.2'
info:
title: OData Service for namespace DefaultNs
description: This OData service is located at http://localhost
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.1.1",
"openapi": "3.1.2",
"info": {
"title": "OData Service for namespace ",
"description": "This OData service is located at http://localhost",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openapi: '3.1.1'
openapi: '3.1.2'
info:
title: 'OData Service for namespace '
description: This OData service is located at http://localhost
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"openapi": "3.1.1",
"openapi": "3.1.2",
"info": {
"title": "OData Service for namespace Default",
"description": "This OData service is located at http://localhost",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openapi: '3.1.1'
openapi: '3.1.2'
info:
title: OData Service for namespace Default
description: This OData service is located at http://localhost
Expand Down
Loading
Loading