Skip to content

Commit

Permalink
fix: PR Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-salvi-apptware committed Sep 25, 2024
1 parent 287917d commit df5885b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
14 changes: 11 additions & 3 deletions metadata-ingestion/docs/sources/openapi/openapi_recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@ source:
name: test_endpoint # this name will appear in DatHub
url: https://test_endpoint.com/
swagger_file: classicapi/doc/swagger.json # where to search for the OpenApi definitions
get_token: # optional, if you need to get an authentication token beforehand

# option 1: bearer token
bearer_token: "<token>"

# option 2: dynamically generated tokens, username/password is mandetory
get_token:
request_type: get
url_complement: api/authentication/login?username={username}&password={password}
username: your_username # optional
password: your_password # optional

# option 3: using basic auth
username: your_username
password: your_password

forced_examples: # optionals
/accounts/groupname/{name}: ['test']
/accounts/username/{name}: ['test']
Expand Down

This file was deleted.

0 comments on commit df5885b

Please sign in to comment.