Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Not able to process media type */* at this moment. #5010

Open
eagle00789 opened this issue Sep 2, 2024 · 0 comments
Open

Error: Not able to process media type */* at this moment. #5010

eagle00789 opened this issue Sep 2, 2024 · 0 comments
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@eagle00789
Copy link

Describe the bug

The (somehwat closed) OpenAPI i'm using to convert to a powershell module, has a few items listed with a mediatype of /
Currently this is not supported bu AutoRest.
The full command i used is: "autorest --powershell --input-file=c:\Users<my username>\Downloads\openapi-spec.json"

Expected behavior
To accept the mediatype of / which, according to the OpenAPI Spec 3.0, is a valid input for mediatype: https://swagger.io/docs/specification/media-types/

Additional context
it should just work with the specified mediatype. The openapi file i use lists version 3.0.1 of openapi spec and that spec lists the used mediatype as valid.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

1 participant