Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAML directive to set "Inherit auth from parent" in postman after importing schema? #80

Open
shafdog opened this issue Sep 10, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@shafdog
Copy link

shafdog commented Sep 10, 2023

In postman, you can set authentication on the collection level (and other levels). The issue is if a collection is created by importing RAML, each imported endpoint in the collection (created from a RAML schema) has to set the "Inherit auth from parent".

Is there some directive in RAML that cause this to be set? The securedBy attribute is set to basic & endpoints do show as needing authentication settings. But it's tedious to set then in a large collection imported from RAML.

Basically I'd like basic auth to be set in one place after creating a collection from RAML in API. I can't figure out the right magic to do it however.

Maybe this is a feature request (or just unfamiliarity with postman ;))?

@VShingala
Copy link
Member

@shafdog I think RAML directive already defines such things best via securedBy which can be used at any resource level. But, this module doesn't have support for using it at collection or folder level yet and all authentication is set at the request level only.

As such, we can treat this as a feature request. We'll update here once we have something concrete on this.

@VShingala VShingala self-assigned this Sep 13, 2023
@VShingala VShingala added the enhancement New feature or request label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants