Skip to content

Issue with swagger.json #7

@comra

Description

@comra

Hi,

I have been trying to generate Rust client code via Swagger based on the provided JSON-file. However, when opening the Börsdata JSON-file in the Swagger Editor it complains:

Semantic error at paths./v1/instruments/{id}/reports.get.parameters.2.name
Path parameter "version" must have the corresponding {version} segment in the "/v1/instruments/{id}/reports" path
Jump to line 375
Semantic error at paths./v1/instruments/stockprices/last.get.parameters.1.name
Path parameter "version" must have the corresponding {version} segment in the "/v1/instruments/stockprices/last" path
Jump to line 480

These two entry points are the only ones that have a version in request and, as far as I can tell, both of these do not include a {version} in the query. Upon deleting it from the JSON and then pasting there are no issues. Could you please confirm whether it is an issue or a mistake in the Swagger generator?

Regards,

Oscar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions