# API documentation: property description, patterns etc

**URL:** <https://community.postman.com/t/api-documentation-property-description-patterns-etc/31295>\
**Category:** Help Hub\
**Tags:** api-documentation\
**Created:** [January 6, 2022, 10:38am UTC](https://community.postman.com/t/api-documentation-property-description-patterns-etc/31295 "2022-01-06T10:38:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paddelboot](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@paddelboot](https://community.postman.com/u/paddelboot)\
**Post date:** [January 6, 2022, 10:38am UTC](https://community.postman.com/t/api-documentation-property-description-patterns-etc/31295/1 "2022-01-06T10:38:01Z")

</div>

Hi,

I am writing an OpenApi 3.0 Schema and in there I have a few components/schemas and within some of those, I have properties with description and patterns.

Those descriptions and patterns do not show up in the generated documentation. Am I missing something?

> **[OpenAPI Specification v3.0.0](https://spec.openapis.org/oas/v3.0.0#properties)**
>
> The OpenAPI Specification (OAS) defines a standard, programming language-agnostic interface description for HTTP APIs.

Example schema:

```auto
      properties:
        fin:
          type: string
          description: "Lorem Ipsum"
          pattern: "/^[A-HJ-NPR-Z0-9]{17}$/"

```

The generated documentation then just consists of a raw request body and a Curl example.

EDIT: I see a similar thing in Swagger. GET parameters can have elaborate descriptions etc, but POST request bodies are limited to the raw JSON object. I wonder what’s the reasoning behind this. Being able to document that a certain request body parameter will have to validate against a specific regex would reduce questions and support, I assume.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 12, 2024, 12:57pm UTC](https://community.postman.com/t/api-documentation-property-description-patterns-etc/31295/2 "2024-12-12T12:57:14Z")

</div>

Closed on December 12, 2024, 12:57pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
