Skip to main content
Answer

Hide $metadata and /openapi endpoints

  • October 29, 2020
  • 1 reply
  • 123 views

Forum|alt.badge.img+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.

Best answer by Ali

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": {

 

 

This topic has been closed for replies.

1 reply

Forum|alt.badge.img
  • Rookie
  • Answer
  • October 30, 2020

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": {