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

Does not generate anything for the GeoJson schema #187

Open
matthelliwell2 opened this issue Jan 14, 2024 · 0 comments
Open

Does not generate anything for the GeoJson schema #187

matthelliwell2 opened this issue Jan 14, 2024 · 0 comments

Comments

@matthelliwell2
Copy link

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:

// 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant