Skip to content

swagger-config.yaml configuration is overriden by the defaults #5148

Closed
codingfragments/tvh-guide
#134
@segevfiner

Description

@segevfiner

Q&A (please complete the following information)

  • OS: Windows 10.0.17763.253 x64
  • Browser: Firefox
  • Version: 64.0.2
  • Method of installation: npm run dev
  • Swagger-UI version: abf3496
  • Swagger/OpenAPI version: any

Describe the bug you're encountering

swagger-config.yaml is being overriden by default configuration:

let mergedConfig = deepExtend({}, localConfig, constructorConfig, fetchedConfig || {}, queryConfig)

constructorConfig is filled with the defaults.

To reproduce...

Steps to reproduce the behavior:

  1. Change anything in swagger-config.yaml and check ui.getSystem().getConfigs().

Expected behavior

swagger-config.yaml changes the defaults but is overridden by other config mechanisms.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions