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 RouteModule constructor)
Linear Supertypes
App, DelayedInit, AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
LibraryApp
App
DelayedInit
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Value Members
final def!=(arg0: Any): Boolean
Definition Classes
AnyRef → Any
final def##(): Int
Definition Classes
AnyRef → Any
final def==(arg0: Any): Boolean
Definition Classes
AnyRef → Any
valapiInfo: ApiInfo
defargs: Array[String]
Attributes
protected
Definition Classes
App
Annotations
@deprecatedOverriding("args should not be overridden", "2.11.0")
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 RouteModule constructor)