This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
version: '1.0.0' | |
title: Swagger Petstore (Simple) | |
description: A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification | |
termsOfService: http://helloreverb.com/terms/ | |
contact: | |
name: Swagger API team | |
email: [email protected] | |
url: http://swagger.io |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tests | |
import static groovy.json.JsonOutput.* | |
import static org.junit.Assert.* | |
import geb.Browser | |
import java.util.concurrent.* | |
import org.junit.Before | |
import org.junit.Test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* refs: | |
* http://oli.me.uk/2013/06/01/prototypical-inheritance-done-right/ | |
* http://davidshariff.com/blog/javascript-inheritance-patterns/ | |
*/ | |
"use strict"; | |
function Human(name, gender) { | |
this.name = name; | |
this.gender = gender; | |
} |
NewerOlder