Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

feat: decoupling OAS code snippet generation into a standalone package #812

Merged
merged 6 commits into from
Jul 1, 2020

Conversation

erunion
Copy link
Member

@erunion erunion commented Jul 1, 2020

🧰 What's being changed?

This decouples our generate-code-snippet library function in the Explorer into a new @readme/oas-to-snippet package. All of the functionality is still the same, I just slightly changed the API for the method to move the oasUrl argument to the end since it's optional for non-api snippets.

@erunion erunion added area:explorer type:refactor Issues about tackling technical debt labels Jul 1, 2020
@erunion erunion requested review from gratcliff and rafegoldberg July 1, 2020 06:31
Copy link
Contributor

@rafegoldberg rafegoldberg left a comment

Choose a reason for hiding this comment

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

This looks good to me.

@erunion erunion merged commit 8fbe211 into master Jul 1, 2020
@erunion erunion deleted the feat/code-generation-package branch July 1, 2020 18:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants