Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support for Siemens Polarion #1179

bigblondewolfpersonal started this conversation in General
Discussion options

Hi, it's my first take on openapi, I'm trying to generate an API for interfacing Siemens Polarion ALM. They provide a playground server at https://testdrive.polarion.com/polarion/rest/v1. When I do openapi-python-client generate --url https://testdrive.polarion.com/polarion/rest/v1/definition I get tons of warnings like this:

Warning(s) encountered while generating. Client was generated, but some pieces may be missing
WARNING parsing GET /projects/{projectId}/collections/{collectionId}/relationships/{relationshipId} within collections.
Invalid response status code 4XX-5XX (not a valid HTTP status code), response will be omitted from generated client

Plus some more, but I'll deal with them later.
What's the best solution in the case where the API specifies a status code range like that? Should I contact Siemens about that or patch the API json or just ignore it?

Additionally, my basic API calls return None, I'm pretty sure this has nothing to do with the above warning, but wanted to make sure...

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /