# How to get swagger specification for Pega DX API V2

**URL:** <https://forums.pega.com/t/how-to-get-swagger-specification-for-pega-dx-api-v2/10712>\
**Category:** General\
**Tags:** dx-api, financial-services, 24-2-3, pega-academy, senior-system-architect, pega-platform\
**Created:** [February 11, 2026, 12:49pm UTC](https://forums.pega.com/t/how-to-get-swagger-specification-for-pega-dx-api-v2/10712 "2026-02-11T12:49:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikramr9](https://avatars.discourse-cdn.com/v4/letter/v/46a35a/32.png) [@vikramr9](https://forums.pega.com/u/vikramr9)\
**Post date:** [February 11, 2026, 12:49pm UTC](https://forums.pega.com/t/how-to-get-swagger-specification-for-pega-dx-api-v2/10712/1 "2026-02-11T12:49:34Z")

</div>

How to get swagger specification for Pega DX API V2.

We are using Pega infinity 24.2.3. we need swagger spec for all the DX API v2 rest services.

---

<div class="post-metadata">

**Author:** ![RameshSangili](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/rameshsangili/32/22508_2.png) [@RameshSangili](https://forums.pega.com/u/RameshSangili)\
**Post date:** [February 11, 2026, 10:32pm UTC](https://forums.pega.com/t/how-to-get-swagger-specification-for-pega-dx-api-v2/10712/2 "2026-02-11T22:32:23Z")

</div>

@vikramr9

Please go to Records → Integration Resources → Service Package → Application (attached the screenshot for your reference)

 ![API.png](https://pega1.discourse-cdn.com/pega/original/3X/6/2/62dcd30dc8197b2993e342285f3b1b35101e06b7.png)

---

<div class="post-metadata">

**Author:** ![vikramr9](https://avatars.discourse-cdn.com/v4/letter/v/46a35a/32.png) [@vikramr9](https://forums.pega.com/u/vikramr9)\
**Post date:** [February 12, 2026, 4:20am UTC](https://forums.pega.com/t/how-to-get-swagger-specification-for-pega-dx-api-v2/10712/3 "2026-02-12T04:20:43Z")

</div>

@RameshSangiliThanks for the Info. We did try this but if you see the YAML it has multiple YAML text files referred in it.

- $ref: webwb/pzData.yaml

When we try to get YAML we are not getting the complete YAML. It does not contain the content of text file YAML referred.

Need to know how to get complete YAML along with text file data.

Please find the screenshot below:

 ![API_yaml.png](https://pega1.discourse-cdn.com/pega/original/3X/e/4/e446cc32f18fa0e9f60feda0f562bdde46dcd35c.png)

---

<div class="post-metadata">

**Author:** ![GilmerT5](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/gilmert5/32/22277_2.png) [@GilmerT5](https://forums.pega.com/u/GilmerT5)\
**Post date:** [June 16, 2026, 11:20pm UTC](https://forums.pega.com/t/how-to-get-swagger-specification-for-pega-dx-api-v2/10712/4 "2026-06-16T23:20:05Z")

</div>

> [@vikramr9](#):
>
> Please find the screenshot below:

Maybe you can try with the XML file and then just adapt to other formats

 ![image](https://pega1.discourse-cdn.com/pega/original/3X/f/4/f4c32ed52edaead5c4d80d1da58e64f385ef7264.png)
