Skip to content

Comments

Fix round-tripping of empty media type objects and parsing of encoding style.#694

Merged
darrelmiller merged 2 commits intovnextfrom
issue683
Jan 23, 2022
Merged

Fix round-tripping of empty media type objects and parsing of encoding style.#694
darrelmiller merged 2 commits intovnextfrom
issue683

Conversation

@darrelmiller
Copy link
Member

Fixes for issue #683

  1. Fix for parsing of encoding style.

  2. Add support for both null and empty media type objects:

openapi: 3.0.1
info:
  title: empty vs null media type objects
  version: 1.0.0
paths:
  "/":
    get:
      responses:
        '200':
          description: ok
          content:
            text/plain: {}
            application/json: null

@darrelmiller darrelmiller merged commit 1deb0a2 into vnext Jan 23, 2022
@darrelmiller darrelmiller deleted the issue683 branch January 23, 2022 15:12
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.

1 participant