-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
https://github.com/microsoftgraph/msgraph-metadata/tree/master/openapi/beta
This builds a project successfully, but that project fails to compile... after 15 minutes of turning my computer into a space heater:
3>Types.fs(21895,31): Error FS1219 : The union case named 'Tags' conflicts with the generated type 'Tags'
3>Types.fs(24405,31): Error FS1219 : The union case named 'Tags' conflicts with the generated type 'Tags'
3>Client.fs(12,6): Error FS0883 : Invalid namespace, module, type or union case name
3>Client.fs(89972,71): Error FS0001 : This expression was expected to have type
'microsoftgraphchromeOSOnboardingStatus'
but here has type
'string'
3>Client.fs(89989,74): Error FS0001 : This expression was expected to have type
'microsoftgraphchromeOSOnboardingStatus'
but here has type
'string'
3>Client.fs(109192,82): Error FS0001 : This expression was expected to have type
'microsoftgraphglobalDeviceHealthScriptState'
but here has type
'string'
3>------- Finished building project: Integrations.MicrosoftGraph. Succeeded: False. Errors: 6. Warnings: 3194
Build completed in 00:15:24.498
Schema was acquired using wget
, jq
and yj
to get it into a suitable form:
wget https://github.com/microsoftgraph/msgraph-metadata/raw/master/openapi/beta/default.yaml
cat default.yaml | yj -yj | jq > default.json
The config is something like:
{
"schema": "./default.json",
"output": "../../gen/Integrations.MicrosoftGraph",
"project": "Integrations.MicrosoftGraph",
"synchronous": true,
"emptyDefinitions": "free-form",
"asyncReturnType": "task",
"target": "fsharp"
}
Thank you for making this project as well!
Metadata
Metadata
Assignees
Labels
No labels