Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/release-postman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ jobs:
BASE_URL: ${{ inputs.atlas_prod_base_url }}
working-directory: ./tools/postman
run: |
make transform_collection
make transform_collection_test
make transform_collection_js

- name: Upload Collection to Postman
env:
Expand Down
4 changes: 2 additions & 2 deletions tools/postman/scripts/transform-postman.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const OPENAPI_FOLDER = process.env.OPENAPI_FOLDER || './openapi';
const TMP_FOLDER = process.env.TMP_FOLDER || './tmp';
const VERSION_FILE_NAME = process.env.VERSION_FILE_NAME || 'version.txt';
const DESCRIPTION_FILE = process.env.DESCRIPTION_FILE || './collection-description.md';
const TOGGLE_INCLUDE_BODY = process.env.TOGGLE_INCLUDE_BODY !== 'false';
const TOGGLE_ADD_DOCS_LINKS = process.env.TOGGLE_ADD_DOCS_LINKS === 'true';
const TOGGLE_INCLUDE_BODY = false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have access but is this currently enabled in env vars?
I take it by disabling this we lose the request body template, which seems like a decent value add for customers using the API for the first time

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. This PR explores options to see what elements add size. I commited those changes to evaluate what is the lowest we can go and then we come back enable what is broken and required.

const TOGGLE_ADD_DOCS_LINKS = false;
const TOKEN_URL_ENV = process.env.TOKEN_URL_ENV || '';
const BASE_URL = process.env.BASE_URL || '';

Expand Down