Граф коммитов

2709 Коммитов

Автор SHA1 Сообщение Дата
Mark Probst 71dcb97090 Add descriptions for EnumOption 2018-07-30 17:35:05 -07:00
Mark Probst 9559784b1f
Merge pull request #989 from quicktype/better-cli-help
Better CLI help formatting.  Fixes #947
2018-07-30 16:44:54 -07:00
Mark Probst 712f70e8cf Better CLI help formatting. Fixes #947 2018-07-30 16:27:09 -07:00
Mark Probst 4e8b863e60
Merge pull request #988 from quicktype/make-cpp-test-multifile-compatible
Make C++ test multi-file compatible
2018-07-29 13:50:39 -07:00
Mark Probst 1c2657e055 Make C++ test multi-file compatible 2018-07-29 13:18:57 -07:00
Mark Probst ce86995dc0
Merge pull request #986 from quicktype/dont-double-add-descriptions
Don't add description to both types and properties. Fixes #983
2018-07-29 01:42:54 +02:00
Mark Probst 169d33c6e1 Don't add description to both types and properties. Fixes #983 2018-07-28 19:03:00 -04:00
Mark Probst a62dfb54e7
Merge pull request #985 from quicktype/fix-js-constructor
Fix "constructor" property in JS.  Fixes #454
2018-07-29 00:24:06 +02:00
Mark Probst 5b47117c75 Fix "constructor" property in JS. Fixes #454 2018-07-28 18:00:58 -04:00
Mark Probst b3bce6e7fb
Merge pull request #984 from quicktype/use-our-own-mkdirs
Use our own mkdirs
2018-07-28 23:04:06 +02:00
Mark Probst 139c9a45e4 Remove dead code 2018-07-28 16:45:25 -04:00
Mark Probst cdcfb032ee Support absolute paths in mkdirs in build-utils, too 2018-07-28 16:45:19 -04:00
Mark Probst 27dc888c9d Use our own mkdirs. Fixes #644 2018-07-28 16:44:33 -04:00
Mark Probst 48448774ff
Merge pull request #981 from quicktype/fix-go-jsonschema
Treat a ".*" patternProperties like additionalProperties. Fixes #976
2018-07-28 21:54:26 +02:00
Mark Probst 2ed9189fad Treat a ".*" patternProperties like additionalProperties. Fixes #976 2018-07-28 15:35:58 -04:00
Mark Probst 0d5b655a21
Merge pull request #980 from quicktype/no-names-for-any
Don't give most type attributes to the any types
2018-07-27 21:30:20 +02:00
Mark Probst 7b0958064e
Merge pull request #978 from quicktype/fix-description-propagation
Attach property descriptions directly to the object type. Fixes #972
2018-07-27 21:06:15 +02:00
Mark Probst a89e20798b Don't give most type attributes to the any typesIf the intersection of two object types is built, allattributes that aren't present in both types areinteresected with the "any" type. If there are namesattached to "any", that leads to stupid naming results.Now we only give the provenance attribute to "any". 2018-07-27 20:58:24 +02:00
Mark Probst 74611d92eb
Merge pull request #977 from quicktype/js-transformations
Don't ignore required properties in JavaScript
2018-07-27 20:37:09 +02:00
Mark Probst 02284e3210 Attach property descriptions directly to the object type. Fixes #972 2018-07-27 20:35:21 +02:00
Mark Probst 21e60c0c45 Don't ignore required properties in JavaScript 2018-07-27 17:34:24 +02:00
Mark Probst c87a58adcf
Merge pull request #974 from quicktype/js-transformations
JS transformations
2018-07-27 10:42:30 +02:00
Mark Probst 5aa471da14 Nice property names for TypeScript and Flow 2018-07-27 10:09:34 +02:00
Mark Probst 91024e904d Don't make property names themselves quoted 2018-07-27 06:48:11 +02:00
Mark Probst 530de6711c Separate name entries for JSON and JS in the object arrays 2018-07-26 18:23:54 +02:00
Mark Probst 81112dbfb1 Put target key into object map 2018-07-26 18:01:06 +02:00
Mark Probst 6a1051a1b7 Put properties into array, make map lazily 2018-07-26 17:57:37 +02:00
Mark Probst 4995ce549f Property map getter function 2018-07-26 17:24:53 +02:00
Mark Probst fde87d2443 Refactor cast/transform 2018-07-26 11:03:25 +02:00
Mark Probst 4eba5b4b56 Make JS validator capable of transforming 2018-07-26 10:43:17 +02:00
Mark Probst 021577f50b
Merge pull request #970 from quicktype/fix-another-id-bug
Move JSONSchemaInput class to JSONSchemaInput.ts
2018-07-19 21:00:24 +02:00
Mark Probst 81fac53293 Use full virtual resolving when gathering top-level refs. Fixes #969 2018-07-19 17:03:11 +02:00
Mark Probst 57372e98af Factor out a class for resolving virtual refs 2018-07-19 16:48:05 +02:00
Mark Probst d981492176 Move JSONSchemaInput class to JSONSchemaInput.ts 2018-07-19 14:29:22 +02:00
Mark Probst f73c63229a
Merge pull request #968 from quicktype/additional-schemas
Allow adding additional schemas for $id.  Fixes #967
2018-07-17 22:00:26 +02:00
Mark Probst 7fefd37b36 Allow adding additional schemas for $id. Fixes #967 2018-07-17 18:50:43 +02:00
Mark Probst 5f686d6358
Merge pull request #962 from quicktype/fix-schema-id
Fix $id and $ref.  Fixes #921
2018-07-17 12:09:57 +02:00
David Siegel a50022b64a Slightly better description and pragma mark 2018-07-15 22:39:28 -07:00
David Siegel 124d01cd98
Merge pull request #965 from quicktype/swift-enhancements
Swift enhancements
2018-07-15 19:21:43 -07:00
David Siegel 815303f8ff Fixes #900 2018-07-15 17:58:07 -07:00
David Siegel 01d991e7a9 Fixes #899 2018-07-15 17:58:07 -07:00
Mark Probst 6a6801496f Add test case for referencing remote schemas 2018-07-15 06:08:23 +02:00
Mark Probst 1e11120f31 Put more information into error when quicktype fails in test 2018-07-14 22:08:39 +02:00
Mark Probst 917f151763 Fix $id and $ref. Fixes #921 2018-07-14 22:08:20 +02:00
Mark Probst c3a98822d9
Merge pull request #961 from quicktype/dont-copy-test-inputs
Dont copy test inputs
2018-07-14 14:41:58 +02:00
Mark Probst 3642d75b4b Only add additional files the test needs to loop over
And print the number of additional files tested.
2018-07-14 14:06:30 +02:00
Mark Probst ef9e639df7 Don't copy test inputs
This will allow us to do tests with multiple inputs
without having to worry which tests need which
additional files.
2018-07-14 13:39:43 +02:00
Mark Probst 0678d67d95
Merge pull request #959 from quicktype/fix-build
Fix build
2018-07-13 13:43:35 +02:00
Mark Probst c4afb0a244 Fix quicktype-core 2018-07-13 13:27:17 +02:00
Mark Probst 39f6516807 Add period to CLI flag descriptions 2018-07-13 13:26:38 +02:00