Skip to content

Conversation

@ponelat
Copy link
Contributor

@ponelat ponelat commented Dec 4, 2017

This adds a failing test-case to highlight the issue around reserved keywords.
Definition taken from: swagger-api/swagger-editor#1343

The keywords "$ref" and "allOf" will result in an error, if used in places reserved for freely-named fields, such as model, parameter, sub-schema names, etc.

@shockey
Copy link
Contributor

shockey commented Jan 8, 2018

I addressed this in #1214, didn't realize a test PR was open.

I'll merge it into here and see what we get.

Copy link
Contributor

@shockey shockey left a comment

Choose a reason for hiding this comment

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

It works!

@shockey shockey merged commit b247892 into master Feb 8, 2018
rook2pawn pushed a commit to rook2pawn/swagger-js that referenced this pull request Feb 20, 2018
@shockey shockey deleted the feature/reserved-keywords branch March 14, 2018 21:03
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