Skip to content

openapi3: handle refs missing fragment#511

Merged
fenollp merged 1 commit intogetkin:masterfrom
fenollp:issue495
Nov 26, 2023
Merged

openapi3: handle refs missing fragment#511
fenollp merged 1 commit intogetkin:masterfrom
fenollp:issue495

Conversation

@fenollp
Copy link
Copy Markdown
Collaborator

@fenollp fenollp commented Mar 16, 2022

Stricto sensu the issue is twofold

  1. error message is misleading and hides the actual error
  2. schema draft04 deserialization is incorrect in that a # ref under definitions being dereferenced leads to a "bad data" error, wrongly.

So far only (1) has been addressed.

@fenollp fenollp force-pushed the issue495 branch 6 times, most recently from baea0c9 to 22a6c33 Compare November 26, 2023 15:50
* fixes getkin#495
* superseeds getkin#867

Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
@fenollp fenollp changed the title reproduce and explore #495 openapi3: handle refs missing fragment Nov 26, 2023
@fenollp fenollp marked this pull request as ready for review November 26, 2023 16:13
@fenollp fenollp merged commit 582e6d0 into getkin:master Nov 26, 2023
@fenollp fenollp deleted the issue495 branch November 26, 2023 16:14
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.

Parsing error when validating certain external ref

1 participant