Skip to content

[FE][Agent] No errors on snapshot creation if current version is OAS3.1 and previous is 3.0 #319

@Maryna-Ko

Description

@Maryna-Ko

Describe the bug

Preconditions:
In APIHUB - Latest version of service (f.e. 2025.1) has OAS 3.0 specs
On user's server - New version (f.e 2025.2) of service exposed with OAS 3.1 sepcs

To Reproduce

  1. Go to APIHUB Agent;
  2. Set cloud, namespace and workspace;
  3. Run discovery;
  4. Create snapshot of 2025.2 with previous version = 2025.1

ER:
System shows error icon on each service with OAS 3.1 with text message "Publication Failed".
As for now APIHUB doesn't support comparison between OAS 3.1 and OAS 3.0.
That's why APIHUB cannot create snapshot with mentioned previous version.

AR:
System shows endless creation of snapshot without any notification that something has failed.

Version

APIHUB-25.2.6

Internal ticket 1913

Additional information

Image

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions