# OpenAPI Spec 3.0 Validation Errors

**URL:** <https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635>\
**Category:** SHF Discussion and Questions\
**Created:** [September 22, 2021, 1:55pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635 "2021-09-22T13:55:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon71802236](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@anon71802236](https://developer.sailpoint.com/discuss/u/anon71802236)\
**Post date:** [September 22, 2021, 1:55pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635/1 "2021-09-22T13:55:48Z")

</div>

Hey Team,

I am trying to integrate our IdentityNow v3 API with one of our partners. I am utilizing the OpenAPI 3.0 Spec that is available to download from [developer.sailpoint.com](http://developer.sailpoint.com). While performing an online validation on the swagger file, the validator throws some errors. I have tried it with only - [https://editor.swagger.io/](https://editor.swagger.io/)

Can anyone confirm if the IdentityNow Open API 3 spec is valid?

Also is there a swagger 2.0 spec available for our IdentityNow v3 API’s?

---

<div class="post-metadata">

**Author:** ![tyler\_mairose](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/tyler_mairose/32/30112_2.png) [@tyler\_mairose](https://developer.sailpoint.com/discuss/u/tyler_mairose)\
**Post date:** [September 22, 2021, 3:50pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635/2 "2021-09-22T15:50:07Z")

</div>

Hello Prashant,

The api spec from [developer.sailpoint.com](http://developer.sailpoint.com) is valid, with that being said there are a few references that do not resolve correctly which are the errors you are seeing. We are working to correct these in the upcoming releases of the specification.

We do not currently have a swagger 2.0 specification available.

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [September 22, 2021, 3:56pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635/3 "2021-09-22T15:56:32Z")

</div>

@anon71802236 to elaborate on @tyler_mairose’s answer, we do not keep our API specs in a single flat file. We make use of [$ref in OpenAPI](https://swagger.io/docs/specification/using-ref/) to break out our OpenAPI specifications into multiple files.

It is because of this use of $ref that you are not seeing the validation from swagger. Our API spec, though, is indeed valid.

---

<div class="post-metadata">

**Author:** ![anon71802236](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@anon71802236](https://developer.sailpoint.com/discuss/u/anon71802236)\
**Post date:** [September 22, 2021, 6:03pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635/4 "2021-09-22T18:03:29Z")

</div>

Thank you for validating that. Any timelines on when that might be available?

I am using third party converters to convert the Open API 3 spec to swagger 2.0 as some platforms are not yet updated. It might be better to have that on the forum as well.

---

<div class="post-metadata">

**Author:** ![anon71802236](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@anon71802236](https://developer.sailpoint.com/discuss/u/anon71802236)\
**Post date:** [September 22, 2021, 6:07pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635/5 "2021-09-22T18:07:03Z")

</div>

That makes sense but due to imports and other validations on third party platforms it might be better to have them in a single file that way these errors dont show up.

This will however become a major issue for platforms that may not perform the reference resolution or have swagger 2.0 support. Just a suggestion.

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [September 22, 2021, 6:08pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635/6 "2021-09-22T18:08:35Z")

</div>

I don’t know that having one file with that many lines is practical, but we will be open-sourcing the entire spec soon, including all the reference files, which will solve your problem 🙂

As for Swagger 2.0 support, we don’t plan to regress from OpenAPI 3.0 so you may have to consider different options for anything that requires Swagger 2.0 or older.

---

<div class="post-metadata">

**Author:** ![anon71802236](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@anon71802236](https://developer.sailpoint.com/discuss/u/anon71802236)\
**Post date:** [September 27, 2021, 7:45pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635/7 "2021-09-27T19:45:41Z")

</div>

Any ideas when this might happen?

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [September 27, 2021, 7:57pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635/8 "2021-09-27T19:57:54Z")

</div>

No timelines in place yet. I will let you know once we do have one.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 19, 2023, 2:22pm UTC](https://developer.sailpoint.com/discuss/t/openapi-spec-3-0-validation-errors/1635/9 "2023-07-19T14:22:06Z")

</div>

Closed on July 19, 2023, 2:22pm UTC


