Skip to content

Commit

Permalink
Merge pull request #56 from bigred8982/issues/55
Browse files Browse the repository at this point in the history
Thanks Harrison!
  • Loading branch information
Richard Beauchamp committed Jan 16, 2016
2 parents 2df1984 + de428de commit 70896c7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Swashbuckle.OData/Descriptions/ODataSwaggerUtilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ public static PathItem CreateSwaggerPathForEntity(IEdmEntitySet entitySet)
.Description("Returns the entity with the key from " + entitySet.Name)
.Tags(entitySet.Name)
.Parameters(keyParameters.DeepClone()
.Parameter("$expand", "query", "Expands related entities inline.", "string", false))
.Parameters(keyParameters.DeepClone()
.Parameter("$select", "query", "Selects which properties to include in the response.", "string", false))
.Parameter("$expand", "query", "Expands related entities inline.", "string", false)
.Parameter("$select", "query", "Selects which properties to include in the response.", "string", false))
.Responses(new Dictionary<string, Response>().Response("200", "EntitySet " + entitySet.Name, entitySet.GetEntityType()).DefaultErrorResponse()),

patch = new Operation()
Expand Down

0 comments on commit 70896c7

Please sign in to comment.