This file contains 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
Embedly call is made when you click on "Suggest a Title" while adding a new post. |
This file contains 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
public class CafeModule : NancyModule | |
{ | |
public CafeModule( IDrinkFactory iDrinkFactory) | |
: base("/api/drinks") | |
{ | |
Get["/{id}"] = _ => | |
{ | |
IDrink drink = iDrinkFactory.Create((int) _.id); | |
}; | |
} |
This file contains 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: | |
description: | | |
Prototype Swagger file detailing RESTful design for the Forest Service e-permitting app | |
including resource/security/operation definitions for retrieving a list of permit applications, | |
a single permit application and creating a new permit application. | |
# Composition/Polymorphism | |
For two permit types - non-commercial and temporary outfitter permits based on schema definitions | |
at https://github.com/18F/forest-service-permit-api-schemas. | |
# Authentication |