Skip to content

Commit

Permalink
Merge pull request #24 from palantir/feature/path-param-object
Browse files Browse the repository at this point in the history
Path param type from string -> any
  • Loading branch information
ryanmcnamara committed Feb 16, 2016
2 parents 2f1b77b + 8256110 commit 1550502
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ jdk:
- oraclejdk8
after_success:
- ./gradlew --info bintrayUpload
script: ./gradlew check --info
env:
global:
- secure: SjUxVTBt5QeYiG5VsAy6ZK1XxjcH9OFDV9bSkCz/B1YhZr2zujTv5zlaviNkLNTStS+Xq+MZnrWfA2hue53QkRPOgw5xN2YOPPb/W6xeE9KmZ2iicjsgQPBFhDbFbpFMYKniFavE7dgvLykeHu3Gwlc5rcgWfF6CB4UJdUl61jjUEaV9hTRNbvXcpfJ650xAWBWjCxSYX5qZJF/UueM2jBZ/cUzsK0YbdHB6CZrMq633zup8PU92GqaQFYN3KiWQ5QR0or/iHPJLtELEWCle0t6PutI6jhh71h3scGlmRRDBjsNpzldYTl7zY0uL4psSffdfFc8YPcu/ZF4wfTTomGZYB42vRQINmFcRQLEOm/7UlGSHPu7jxlqPnE7Z1dHJDochVTUN7ueX9X2FQxOSwxwyOOI5ECPg4/bbR792k2StTHYFHdrF9VU0udTv9On6FfDUjcVBLiDbHC5T2wg2M3XpRowcXZPfSHRV3Q9nwOUGwPEKJ1zZVYixNX5sy2x9mCKRfSgfQzztL8uBOMItKzptFLJkDzwRUxERw21dkCl0gI3Vgum8LtVXX2NUfLjNCyvOjBDuUEYwjc1Uv74ks0hCyTsp3LjY3n9kQ6v6RHdvQQXMaf6mnw0TStqSGJp3PkSG2zczSpTDkcO387rYYffPGh/dlAH4ZQPkqykj8Fs=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export interface %sHttpEndpointOptions {
method: string;
mediaType: string;
requiredHeaders: string[];
pathArguments: string[];
pathArguments: any[];
queryArguments: any;
data?: any;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import java.util.Arrays;

import org.apache.commons.io.FileUtils;
import org.junit.Rule;
Expand Down Expand Up @@ -46,6 +47,8 @@ private void assertDirectoriesEqual(File a, File b) throws IOException {
if (a.isDirectory()) {
File[] aFiles = a.listFiles();
File[] bFiles = b.listFiles();
Arrays.sort(aFiles);
Arrays.sort(bFiles);
if (aFiles.length != bFiles.length) fail();
for (int i = 0; i < aFiles.length; i++) {
assertDirectoriesEqual(aFiles[i], bFiles[i]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module ModuleName {
method: string;
mediaType: string;
requiredHeaders: string[];
pathArguments: string[];
pathArguments: any[];
queryArguments: any;
data?: any;
}
Expand Down

0 comments on commit 1550502

Please sign in to comment.