Skip to main content
Solved

Hide $metadata and /openapi endpoints

  • October 29, 2020
  • 1 reply
  • 114 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": {

 

 

View original
This topic has been closed for comments

Forum|alt.badge.img
  • Rookie
  • 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": {

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings