Solved

Hide $metadata and /openapi endpoints

  • 29 October 2020
  • 1 reply
  • 98 views

Userlevel 5
Badge +15

I noticed in the release notes of Indicium Universal 2020.2.7 this:

Implemented a setting to hide the /$metadata and /openapi endpoints

Is it something to consider when using the Universal GUI, and if it's possible, how is this setting enabled I'd like to expose as less as possible.

icon

Best answer by Ali 30 October 2020, 11:57

View original

This topic has been closed for comments

1 reply

Badge

Hi René,

 

You can just include this piece of code in the appsettings.json file:
 

{
  "Logging": {
    "IncludeScopes": false,
    "LogLevel": {
      "Default": "Information",
      "System": "Information",
      "Microsoft": "Warning",
      "Indicium": "Debug"
    }
  },
  "HideMetaDataDocument": true,
  "MetaSourceConnection": {