Skip to content

Instantly share code, notes, and snippets.

caoilte / gist:5241423
Created Mar 25, 2013
When I compile and run and look at the API doc URI for Pet http://localhost:8080/api-docs/pet I get
View gist:5241423
resourcePath: "/pet",
listingPath: "/api-docs/pet",
description: "Pet API",
apis: [
path: "/pet/",
description: "",
secured: false,
operations: [
caoilte / gist:2781601
Created May 24, 2012
Stubble: Unit Test
View gist:2781601
describe("Build Packager", function(){
var Stubble, mockConfig, realpathSyncMock, writeFileMock, fsMock, writePackageCallback, mapAllFilesSpy,
folderMock, zipAddFilesMock, zipMock, stub, packager, DIRECTORY_TO_ZIP;
beforeEach(function() {
Stubble = require('stubble'),
mockConfig = {
commandArgs: {
product: "mobile"
You can’t perform that action at this time.