Open matthelliwell2 opened 8 months ago
I'm trying to generate structs from this schema https://[geojson.org/schema/GeoJSON.json](https://geojson.org/schema/GeoJSON.json but it isn't generating any code.
(See https://github.com/geojson/schema for details of what the schema actually is)
Command I run: go-jsonschema.exe --package api --only-models -v GeoJSON.json
go-jsonschema.exe --package api --only-models -v GeoJSON.json
Output:
// Code generated by github.com/atombender/go-jsonschema, DO NOT EDIT. package api
There are no errors or warnings.
I've experimented a bit and it looks like it looks like the program doesn't like the top level one-of.
I'm trying to generate structs from this schema https://[geojson.org/schema/GeoJSON.json](https://geojson.org/schema/GeoJSON.json but it isn't generating any code.
(See https://github.com/geojson/schema for details of what the schema actually is)
Command I run:
go-jsonschema.exe --package api --only-models -v GeoJSON.json
Output:
There are no errors or warnings.
I've experimented a bit and it looks like it looks like the program doesn't like the top level one-of.