modify to return the collection of entity type for the GET entity operation
This commit is contained in:
parent
e3e5f5d465
commit
6b965f5af2
|
@ -135,7 +135,7 @@ namespace Microsoft.OpenApi.OData.Generator
|
|||
{
|
||||
Schema = new OpenApiSchema
|
||||
{
|
||||
Title = "Collection of " + entitySet.Name,
|
||||
Title = "Collection of " + entitySet.EntityType().Name,
|
||||
Type = "object",
|
||||
Properties = new Dictionary<string, OpenApiSchema>
|
||||
{
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"title": "Collection of People",
|
||||
"title": "Collection of Person",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
|
|
|
@ -63,7 +63,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
title: Collection of People
|
||||
title: Collection of Person
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"title": "Collection of People",
|
||||
"title": "Collection of Person",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
|
@ -566,7 +566,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"title": "Collection of Airlines",
|
||||
"title": "Collection of Airline",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
|
@ -836,7 +836,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"title": "Collection of Airports",
|
||||
"title": "Collection of Airport",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
|
@ -1135,7 +1135,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"title": "Collection of NewComePeople",
|
||||
"title": "Collection of Person",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
|
|
|
@ -90,7 +90,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
title: Collection of People
|
||||
title: Collection of Person
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
|
@ -373,7 +373,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
title: Collection of Airlines
|
||||
title: Collection of Airline
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
|
@ -545,7 +545,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
title: Collection of Airports
|
||||
title: Collection of Airport
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
|
@ -746,7 +746,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
title: Collection of NewComePeople
|
||||
title: Collection of Person
|
||||
type: object
|
||||
properties:
|
||||
value:
|
||||
|
|
Loading…
Reference in a new issue