Skip to content

Commit

Permalink
style(docs): use the openapi2 Pygments lexer everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Jan 3, 2019
1 parent 4f168ec commit 36530b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/how-to-guides.rst
Expand Up @@ -537,7 +537,7 @@ Sending Multipart Requests
:language: apiblueprint

.. literalinclude:: ../test/fixtures/request/multipart-form-data.yaml
:language: yaml
:language: openapi2

Sending Form Data
-----------------
Expand All @@ -546,7 +546,7 @@ Sending Form Data
:language: apiblueprint

.. literalinclude:: ../test/fixtures/request/application-x-www-form-urlencoded.yaml
:language: yaml
:language: openapi2

Working with Images and other Binary Bodies
-------------------------------------------
Expand All @@ -566,7 +566,7 @@ OpenAPI 2
^^^^^^^^^

.. literalinclude:: ../test/fixtures/request/image-png.yaml
:language: yaml
:language: openapi2

Hooks
^^^^^
Expand All @@ -589,7 +589,7 @@ OpenAPI 2
^^^^^^^^^

.. literalinclude:: ../test/fixtures/response/binary.yaml
:language: yaml
:language: openapi2

.. note::
Do not use the explicit ``binary`` or ``bytes`` formats with response bodies, as Dredd is not able to properly work with those (:ghissue:`fury-adapter-swagger#193`).
Expand Down

0 comments on commit 36530b9

Please sign in to comment.