Web
The web session brings together the settings, such as the exposed endpoints, Swagger activation, default HTTP error codes, the display of HTTP request details, and the handling of invalid requests (BadRequest).
You can enable or disable the adapter, set an http exposure port, enable swagger in the development environment, and set default http error codes for return in the API’s. If you wish, you can add a custom http error code directly in the API.
|
|
General | — |
---|---|
enable | Enable Adapter Web (True/False) |
url | Sets the public urls for web/API exposure |
enableswagger | Activate Swagger |
PostSuccess | Default Code Definition for HTTP Error in API |
PostFailure | Default Code Definition for HTTP Error in API |
GetSuccess | Default Code Definition for HTTP Error in API |
GetFailure | Default Code Definition for HTTP Error in API |
PatchSuccess | Default Code Definition for HTTP Error in API |
PutSuccess | Default Code Definition for HTTP Error in API |
DeleteSuccess | Default Code Definition for HTTP Error in API |
DeleteFailure | Default Code Definition for HTTP Error in API |
EnableWebLegacy | Enables support for legacy ASP.NET Controllers (True/False) |
ShowHttpRequests | Enables verbosity of incoming requests (True/False) |
ShowBadRequestDetails | Enables verbose return in the API of malformed requests with automatic error 400 (True/False) |