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

feat(core): add support for OAS3 Server object #428

Merged
merged 11 commits into from
Apr 6, 2020
Merged

Conversation

marcofriso
Copy link
Contributor

@marcofriso marcofriso commented Mar 25, 2020

Closes APIARY-5855, APIARY-5856

@marcofriso marcofriso requested a review from a team March 25, 2020 13:21
Copy link
Member

@kylef kylef left a comment

Choose a reason for hiding this comment

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

I think two of the properties proposes can be removed as the API Elements design won't allow for those to exist.

packages/api-elements/lib/elements/Transition.js Outdated Show resolved Hide resolved
packages/api-elements/lib/elements/Resource.js Outdated Show resolved Hide resolved
@marcofriso marcofriso added the help wanted Extra attention is needed label Mar 27, 2020
@marcofriso
Copy link
Contributor Author

@kyle I am trying to add the support for the server object to the Fury adapter, but I am missing something, can you please have a check?
Thanks!

@marcofriso marcofriso requested a review from kylef April 1, 2020 10:05
@marcofriso marcofriso force-pushed the marco/oas3-server branch 2 times, most recently from ea4487b to 2ff7549 Compare April 1, 2020 15:08
@marcofriso marcofriso removed the help wanted Extra attention is needed label Apr 3, 2020
@marcofriso marcofriso requested a review from a team April 3, 2020 12:28

const { minim: namespace } = new Fury();

describe('#parseHostsObject', () => {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
describe('#parseHostsObject', () => {
describe('#parseServersArray', () => {

To match the function we are testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

@marcofriso marcofriso requested a review from a team April 3, 2020 14:10
Copy link
Member

@kylef kylef left a comment

Choose a reason for hiding this comment

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

I think this is coming a long and looks good now. I'll approve it, but let's not merge this until we have the API Element's specification PR completed.

@marcofriso
Copy link
Contributor Author

@kylef As apiaryio/api-elements#62 has been merged I am merging also this PR

@marcofriso marcofriso merged commit 2ccbcb8 into master Apr 6, 2020
@kylef kylef deleted the marco/oas3-server branch April 6, 2020 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants