graphsense / graphsense-python

A Python client for the GraphSense REST interface.
MIT License
19 stars 3 forks source link

Client generation via Docker fails #2

Closed behas closed 3 years ago

behas commented 3 years ago

URL=https://github.com/graphsense/graphsense-openapi/blob/develop/graphsense.yaml ➜ graphsense-python git:(develop) ✗ docker run --rm \ -v "${PWD}:/build" \ openapitools/openapi-generator-cli:v5.1.1 \ generate -i "$URL" \ -g python \ -o /build [main] WARN i.s.parser.util.DeserializationUtils - Error snake-parsing yaml content io.swagger.parser.util.DeserializationUtils$SnakeException: Exception safe-checking yaml content (maxDepth 2000, maxYamlAliasesForCollections 2147483647)

myrho commented 3 years ago

Use the raw view of the file: https://raw.githubusercontent.com/graphsense/graphsense-openapi/develop/graphsense.yaml :smile: