-
Couldn't load subscription status.
- Fork 29
Add infrastructure for Redocly #427
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW, i recommend moving the OpenAPI spec to a new directory at commerce-extensibility/static/rest/extensibility.yaml or some variation of that. The important thing is to put it in a static/ directory.
That way, you can reference the path to the spec in the redocly block as such:
<RedoclyAPIBlock src='/commerce/extensibility/rest/extensibility.yaml' />
See AdobeDocs/commerce-services#284 for an example.
I think that this will make it easier to validate changes that you make to the spec now and in the future when you deploy to stage. If you use the raw github URL, I think you'll have to update the spec AND update the raw URL in the redocly block, which doesn't seem ideal.
Purpose of this pull request
This pull request (PR) adds Redocly variables to the repo and adds a basic yaml file for testing.
Affected pages
Links to Magento Open Source code