Skip to content

Commit 20ab71c

Browse files
authored
docs: use cross-platform compatible info emoji (#875)
1 parent ad3895a commit 20ab71c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ Specify the `type` property when decorating response headers to prevent schema m
571571
572572
<a name="route.response.empty_body"></a>
573573
##### Different content types responses
574-
> 🛈 Note: Supported [only by OpenAPI v3](https://swagger.io/docs/specification/describing-responses/), not Swagger (OpenAPI v2).
574+
> ℹ️ Note: Supported [only by OpenAPI v3](https://swagger.io/docs/specification/describing-responses/), not Swagger (OpenAPI v2).
575575
576576
Different content types are supported by `@fastify/swagger` and `@fastify`.
577577
Use `content` for the response to prevent Fastify from failing to compile the schema:
@@ -622,7 +622,7 @@ Specify `type: 'null'` for the response to prevent Fastify from failing to compi
622622
<a name="route.openapi"></a>
623623
#### OpenAPI Parameter Options
624624
625-
> 🛈 Note: OpenAPI's terminology differs from Fastify's. OpenAPI uses "parameter" to refer to parts of a request that in [Fastify's validation documentation](https://fastify.dev/docs/latest/Reference/Validation-and-Serialization/) are called "querystring", "params", and "headers".
625+
> ℹ️ Note: OpenAPI's terminology differs from Fastify's. OpenAPI uses "parameter" to refer to parts of a request that in [Fastify's validation documentation](https://fastify.dev/docs/latest/Reference/Validation-and-Serialization/) are called "querystring", "params", and "headers".
626626
627627
OpenAPI extends the [JSON schema specification](https://json-schema.org/specification.html) with options like `collectionFormat` for encoding array parameters.
628628
@@ -686,13 +686,13 @@ There is a complete runnable example [here](examples/collection-format.js).
686686
<a name="route.complex-serialization"></a>
687687
#### Complex serialization in query and cookie, eg. JSON
688688
689-
> 🛈 Note: Supported [only by OpenAPI v3](https://swagger.io/docs/specification/describing-parameters/#schema-vs-content), not Swagger (OpenAPI v2).
689+
> ℹ️ Note: Supported [only by OpenAPI v3](https://swagger.io/docs/specification/describing-parameters/#schema-vs-content), not Swagger (OpenAPI v2).
690690
691691
```
692692
http://localhost/?filter={"foo":"baz","bar":"qux"}
693693
```
694694
695-
> 🛈 Note: Change Fastify's default query string parser to produce a JavaScript object conforming to the schema. See [example](examples/json-in-querystring.js).
695+
> ℹ️ Note: Change Fastify's default query string parser to produce a JavaScript object conforming to the schema. See [example](examples/json-in-querystring.js).
696696
697697
```js
698698
fastify.route({
@@ -901,7 +901,7 @@ Generates this in the OpenAPI v3 schema's `paths`:
901901
<a name="route.links"></a>
902902
#### Links
903903
904-
> 🛈 Note: Supported [only by OpenAPI v3](https://swagger.io/docs/specification/links), not Swagger (OpenAPI v2).
904+
> ℹ️ Note: Supported [only by OpenAPI v3](https://swagger.io/docs/specification/links), not Swagger (OpenAPI v2).
905905
906906
Add OpenAPI v3 Links by adding a `links` property to the top-level options of a route. See:
907907

0 commit comments

Comments
 (0)