Skip to content

Commit

Permalink
Merge pull request #556 from ivanfioravanti/master
Browse files Browse the repository at this point in the history
Swagger Operations in random order
  • Loading branch information
desunit committed Mar 29, 2013
2 parents 9c2dc86 + d380fa4 commit 886265a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceStack.Api.Swagger/SwaggerApiService.cs
Expand Up @@ -120,7 +120,7 @@ public object Get(ResourceRequest request)
return new ResourceResponse {
ResourcePath = path,
BasePath = basePath,
Apis = new List<MethodDescription>(paths.Select(FormateMethodDescription).ToArray())
Apis = new List<MethodDescription>(paths.Select(FormateMethodDescription).ToArray().OrderBy(md => md.Path))
};
}

Expand Down

0 comments on commit 886265a

Please sign in to comment.