Skip to content

Conversion fails if there is a '#' in the url of a REST query #441

Closed
@juliandm

Description

@juliandm

Describe the bug
I was trying to run the cli on the aws s3 api schema but got following error:

OpenAPI-to-GraphQL creation event error: expected '/{Bucket}/{Key}#uploadId' not to contain '#' (false negative fail)

To Reproduce
Steps to reproduce the behavior:

  1. Download the raw aws s3 api schema https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/amazonaws.com/s3/2006-03-01/openapi.yaml
  2. save it in a file test.yaml
  3. run openapi-to-graphql test.yaml
  4. See error

Expected behavior
I expect it to parse

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