Azure / Azure/azure-rest-api-specs
[policyinsights] autorest fails to generate openapi documents from input config and files
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
`autorest` fails to generate output documents from the `policyinsights` specification
running:
```
autorest ./resource-manager/readme.md \
--openapi-type=arm \
--output-converted-oai3
```
from the `azure-rest-api-specs/specification/policyinsights` directory
yields the following non descript error:
```
fatal | Process() cancelled due to failure
error | TypeError [ERRINVALIDURL]: Invalid URL
error | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
```
all other services in the `specification` directory work with the same command
Contributor guide
Research direction
Start in specification/policyinsights/resource-manager/readme.md and reproduce the documented autorest command from the policyinsights directory. Compare the result with other service specifications that use the same command; done means the policyinsights specification generates output documents without the Invalid URL error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100