Package

examples

extended

Permalink

package extended

Visibility
  1. Public
  2. All

Type Members

  1. case class Book(title: String, author: String, pages: Int) extends Product with Serializable

    Permalink
  2. class BookAdd extends AnyRef

    Permalink
  3. class BookCollection extends AnyRef

    Permalink
  4. class BookLengthSearch extends AnyRef

    Permalink
  5. class BookLookup extends AnyRef

    Permalink
  6. class BookTermSearch extends AnyRef

    Permalink
  7. class Books extends AnyRef

    Permalink
  8. class Ping extends AnyRef

    Permalink

Value Members

  1. object Book extends Serializable

    Permalink
  2. object LibraryApp extends App

    Permalink

    This example shows the intended method for implementing a simple app using Fintrospect routes and modules, using a Swagger 2.0 renderer.

    This example shows the intended method for implementing a simple app using Fintrospect routes and modules, using a Swagger 2.0 renderer. The Swagger API endpoint lives at the root of the module (in this case /library) instead of /api-docs.

    Note the use of the CORS policy filter to allow the endpoints to be called by the Swagger UI. For normal usage, use CORs settings that suit your particular use-case. This one allows any cross-domain traffic at all and is applied to all routes in the module (by being passed as the optional param to the ModuleSpec constructor)

Ungrouped