Skip to content

Commit

Permalink
feat: AddSwaggerEnabledAsEnvVar (amundsen-io#215)
Browse files Browse the repository at this point in the history
Signed-off-by: Paschalis Dimitriou <[email protected]>
  • Loading branch information
PaschalisDim authored and Hans Adriaans committed Jun 30, 2022
1 parent bbfb705 commit c1860c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata/metadata_service/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Config:
# whitelist badges
WHITELIST_BADGES: List[Badge] = []

SWAGGER_ENABLED = False
SWAGGER_ENABLED = os.environ.get('SWAGGER_ENABLED', False)

USER_DETAIL_METHOD = None # type: Optional[function]

Expand Down

0 comments on commit c1860c1

Please sign in to comment.