Class RestInterfaceSettings

Encapsulates settings used to customize the generated REST interface.

Inherits from

  • Object (base class)

Fields

Name Type Description
allowedOrigins string[] List of allowed origins for CORS
baseURL URL The public URL below which the REST interface is registered.
methodStyle MethodStyle Naming convention used for the generated URLs.
stripTrailingUnderscore bool Ignores a trailing underscore in method and function names.

Properties

Name Type Description
dup [get] RestInterfaceSettings

Authors

Sönke Ludwig, Михаил Страшун

Copyright

© 2012-2013 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.