Skip to main content

Endpoint having name with special character - Exported OpenAPI/Swagger 2.00 (JSON) has mismatching operationId and schema:$ref

Comments

2 comments

  • Official comment
    Support

    Hey Akash!

    $ref values must be RFC3986-compliant percent-encoded URIs whereas the official Swagger specification does not enforce any particular restrictions on the "operationId". Because of this, we don't encode them. The issue you pointed out is interesting, however. If you would like us to handle this case, please generate a support ticket of type "Feature Request" from the help button available at the bottom of all our pages and we can look into this further.

    Cheers,
    Faria

  • Akash Shrestha

    Thanks for the quick response.

    I got it now. $ref is actually a reference of a valid location inside the document. So the generated format by Apimatic is correct.

    0

Please sign in to leave a comment.