Skip to content

v0.7.2

Compare
Choose a tag to compare
@kooksee kooksee released this 28 May 15:58
· 2 commits to main since this release
02b52d0

Changelog

  • 02b52d0 refactor and fix enum description (#5)
  • 9b60a45 fix workflow (#4)
  • 5eb502b Add Goreleaser (#3)
  • 572be9f update readme and openapi protobuf (#2)
  • c7716c7 fix: 2024-05-24 10:22:10
  • 71f8ce6 fix: 2024-05-24 10:19:46
  • 856bf0b fix: 2024-05-24 10:12:06
  • f4f701b fix: 2024-05-24 09:56:43
  • 86ef69c Delete code other than OpenAPI plug
  • 19bbcfb fix: 2024-05-23 23:20:20
  • 91587e0 fix: 2024-05-23 22:21:09
  • ad271d5 feat: handle escape and null value (#419)
  • fe4fc1e plugins/gnostic-analyze/summarize: fix dropped error (#426)
  • bf7795e metrics/vocabulary: err check before Close() (#425)
  • f702249 generate-gnostic: fix dropped errors (#415)
  • da1adca Fix typos in README.md (#423)
  • ee84fd2 fix: Stop lying how GRPC renders durations (#401)
  • 65eab73 tools/j2y2j: fix dropped error (#402)
  • 836f55b Migrate gnostic to use gnostic-models (#400)
  • 987797b surface: Set status and content-type in response fields (#385)
  • dd1001c fix: Prevent panic when parsing empty documents (#389)
  • a5c9e9c Bump google.golang.org/genproto (#393)
  • ed4d962 Update action to use ubuntu-22.04 (#394)
  • ade94e0 protoc-gen-openapi: add flag to generate source_relative yaml (#359)
  • 0835de8 Handle google/protobuf/wrappers.proto types on protoc-gen-openapi (#366)
  • 8c84f3c Don't remove newlines from openapi descriptions (#370)
  • 9ddb282 chore: yaml bump and protoc move to google.golang.org (#377)
  • 3751138 Update CI to run on "main" branch. (#371)
  • e1017b5 feat: support generate doc with additional_bindings (#367)
  • 05a0ef7 Feat/message inputonly outputonly (#354)
  • c62333b [+] support integer64 as string option (#355)
  • 8f7dee9 Add description of related repos to README.md (#352)
  • cece63d fix COMPILE_PROTOS.sh (#349)
  • 56da86e Fix/openapiv3 go package (#344)
  • c1c54ff rebuild annotations.proto (#341) (#342)
  • 515040d use a registered extension number. (#339)
  • 549bfe0 Doc/update openapi readme (#335)
  • d694ba5 support message and field options. (#334)
  • 563c490 Add missing generated code to support export of maps of strings. (#333)
  • 44c9037 [protoc-gen-openapi] Fix the Timestamp Format (#310) (#330)
  • e282a44 automatically add a google.rpc.Status response if requested. (#329)
  • f0fd0ae refactor code a little (#328)
  • df655de Update reader.go (#320)
  • e954645 [protoc-gen-openapi] Support google.protobuf.Any and google.rpc.Status (#327)
  • ec4d35c [protoc-gen-openapi] Support Fully Qualified Schema Names and Annotations for File/Document and Method/Operation (#324)
  • 418d86c Support $ref alongside description in OpenAPI V3 (#314)
  • a03001a protoc-gen-openapi/jsonschema: Add support for string-based enums (#312)
  • 3334dd9 protoc-gen-openapi: Handle google.api.HttpBody (#306)
  • 0d229df protoc-gen-jsonschema: Handle google.protobuf.Value (#302)
  • 8f951e5 Add missing check in gnostic validateOptions(). (#296)
  • 24f005e Handle google.protobuf.Value (#290)
  • 46bcbfd Remove multi module again (#295)
  • ffbea52 Retract sub modules again (#294)
  • 3fb0cac Remove multi module (#289)
  • d9ddc71 Retract breaking multi-module commit (#288)
  • a91282f Retract v0.6.0 (#286)
  • baf81ea Reverse multi-module changes (#284)
  • 94bcf11 refactor: rename apps to cmd and add go.mod (#279)
  • ba78c7c protoc-gen-openapi: Add type to schema objects (#282)
  • 7f9a651 Fix embedded messages (#280)
  • 82ab4fb add required to schema (#278)
  • 5a31161 Protoc gen openapi (#276)
  • dd0d92f Initial version of protoc-gen-jsonschema (#274)
  • 08c882d Handle nested messages and ignore services without http annotations (#272)
  • 6c71457 protoc-gen-openapi: Convert maps and lists of sub messages (#271)
  • 6215ae6 Update protoc-gen-openapi to handle "unnamed" path parameters, json naming, google.protobuf.Struct and google.protobuf.Empty (#261)
  • bed1336 Add support for "streamingType" fields in Discovery documents. (#270)
  • b1b34ea Replace all instances of "googleapis/gnostic" with "google/gnostic" (#264)
  • c7a5e4f Fix module name and support goimports local prefix (#259)
  • 55aa1a4 openapiv3: update 3.1.0.md to latest release (#250)
  • 0bf51b8 Removing newline from stdout and stderr. (#258)
  • 0320d74 Fixed incorrect interface nil check in protoc-gen-openapi (#249)
  • c686e50 Improve protoc-gen-openapi generation of response bodies. (#247)
  • ff4e3d1 protoc-gen-openapi: serialize date and date-time as strings (#234)
  • 4bfc54b Update protoc-gen-openapi to represent map<string,string> as OpenAPI objects. (#244)
  • 1550ae2 Upgrade protobuf and Generate OpenAPI v3 responseBody content examples (#242)
  • ed30884 Create go.yml to do commit testing with GitHub Actions (#233)
  • 90d61b5 protoc-gen-openapi: handle message bodies mapped to string fields (#232)
  • 43bcb37 protoc-gen-openapi: timestamps should be serialized as strings (#223)
  • eec9d28 fixed build status badge (#226)
  • e21f238 Minor fixes to protoc-gen-openapi: remove extraneous log message, update openapi version in generated files (#222)
  • 42aec32 protoc-gen-openapi (#221)
  • 7fb1841 Support JSON marshalling of yaml sequence and scalar nodes (#220)
  • 52a6193 Add line numbers to error msgs + improve errors for schema mismatches (#219)
  • 349b567 ToRawInfo functions return null-valued nodes instead of nil (#218)
  • 48b4738 Fix checking of error from jsonwriter.Marshal (#216)
  • 8e72155 chore: add CODEOWNERS and repo config (#215)
  • f6a8fec fix crash in discovery vocabulary computation (#214)
  • dea0258 vocabulary generation for discovery docs (#208)
  • b262eed update generated protos (#211)
  • 15aa5a7 Add support for treating timestamps (as identified by yaml.v3) as strings. (#210)
  • 48073df VocabularyList and Clean up (#207)
  • 2114d63 Version History + Code Cleanup (#205)
  • dc43282 Refined vocabulary to use structs instead of global variables (#203)
  • 95171db Use key paths to get source info from yaml files (#200)
  • 0b9e7d4 Fix error in discovery reader. (#202)
  • 3e1e1bd Fix broken ParseDocument function for Discovery files + improve tests. (#199)
  • 256520e Adding an additional case for yaml node with tag "!!int". (#198)
  • ce28748 minor improvements to generator code (#197)
  • 5a22f61 simplify extension handling and clarify its experimental status (#196)
  • 40cf3c0 Update gnostic to use yaml.v3 (#194)
  • 9cb6370 Created a mvp API Linter plugin that supports both v2 and v3 (#192)
  • ae26236 Linter App (#191)
  • f9af143 vocabulary-operations (#190)
  • ead8eb3 Include generated jsonschema/base.go (#189)
  • d1505c9 Fix crash found by fuzzing. (#187)
  • 72146ea Use prettier (via tools/pretty.sh) to format all README.md files. (#186)
  • 99a94f7 Generate jsonschema/base.go (a compiled-in version of jsonschema/schema.json) (#185)
  • 0319aeb Since some tests run separately-built binaries, clear the cache in "make test". (#184)
  • 899eab8 Summarize vocabulary (#183)
  • d873db5 Disable surface model generation with --no-surface. (#182)
  • 27fa43f Put output files in the same directory as their associated input files. (#180)
  • a5cca12 Summarize vocabulary (#181)
  • d95c059 gnostic-complexity: new plugin that computes simple complexity metrics (#179)
  • 966d1db gnostic-summary: fix plugin to write output in the same directory as its input file. (#178)
  • 0a63761 gnostic-vocabulary: new plugin that computes word usage counts (#177)
  • e775a79 merging vocab_plugin from gizzon
  • dc944c7 Vocabulary App for V2 and V3 (#176)
  • 3186047 Vocabulary: New App (#175)
  • 89741bb Add support for enum arrays. (#173)
  • 57a06a8 Add enum values to surface model (#172)
  • db7bb52 Handle OneOf, AnyOf, and AllOf sub schemas (#169)
  • 428ada5 Schema updates (#166)
  • 6b562c4 Update generate-gnostic tool to generate go_package options. (#165)
  • 4869860 Fix test broken by PR#163 (#164)
  • 63cf2e7 Synchronize accesses to reader cache maps. (#163)
  • 1b6d7e7 Display usage information on errors and when the --help option is given. (#161)
  • dfc4011 Add mtlsRootUrl property to Discovery schema. (#158)
  • 896953e Lower-case OpenAPIv2 and OpenAPIv3 dirs to follow style guide. (#155)
  • 81b31a2 Update Makefile to run all tests (and fixed broken tests). (#154)
  • bb1011a Reorganize tests. (#153)
  • 9938483 Add plugin development helpers and verbose flag for plugins. (#152)
  • b043406 Remove swift code (to a separate repo). (#132)
  • dde5565 Update OpenAPIv3.proto to support OpenAPI 3.1 (#148)
  • b0a17e3 Remove messages about responses with no contents. (#150)
  • 635450e Move core of apps/disco into top-level packages. (#146)
  • 5b21ca1 Making surface model not dependent on source name in case we don't find it; generating a generic type for empty objects; (#145)
  • ee703ec Update field names in surface.proto to use snake case. (#144)
  • b55395f Fix incorrect URL in README. (#143)
  • ab0dd09 Update build configurations to use Go modules. (#142)
  • 2cd1770 Re-adding generated files to avoid problems with "go get". (#141)
  • befc733 Fix .gitignore of pb.go files (#140)
  • 51de230 Remove generated pb code. (#138)
  • 38b64be Improved version of surface model for v2 (#137)
  • f238b8c New surface model (#136)
  • 25d8b0b Adding the position of a reference field. (#130)
  • e73c7ec Enhancements for the surface model (#128)
  • 353f7ea Merge pull request #127 from noahdietz/remove-go-plugin
  • d4406a8 remove all uses of gnostic-go-generator
  • 424146a remove Go generator plugin
  • 0a2f4f0 Merge pull request #126 from glickbot/glickbot/handle-type-any
  • a221e9d handle 'any' type
  • d18fd27 added error handling to golang plugin renderer (#122)
  • 2c48680 added nil pointer check for disco/openapiv3 (#124)
  • c273e2c Merge pull request #117 from liubog2008/fix-leak
  • 993a7dd fix(resp): fix connection leak problem of missing response body close
  • 909070f Merge pull request #113 from bhenderson/fix-some-edge-cases
  • 6603604 Resolve package name from output path (#112)
  • c767ca6 Updating README: step 8 using plugins (#115)
  • da398fd Only add requestBody when the content type is json
  • 52cf573 Fix invalid unimplemented types
  • 19d733f Fix invalid type
  • ee81dd1 Fix invalid type identifiers
  • d55a06a Merge pull request #107 from timburks/master
  • a2d7f3f Update apps/report sample to report better errors for non-OpenAPIv2 input.
  • d48bb90 Merge pull request #106 from sebidude/master
  • 39d76df Merge pull request #103 from andrewshan/master
  • 33e0f70 Merge pull request #97 from noahdietz/refactor-goimports
  • 318da79 Golang support for boolean type in openapi v2.
  • eb280b4 Golang support for boolean type.
  • 8efd690 improvement for filecache apis
  • 41e0812 Merge pull request #102 from andrewshan/master
  • 45fadb7 bugfix: no ways to disable the caches
  • 111d27e refactor goimports exec to imports pkg
  • e2aafd6 Merge pull request #96 from noahdietz/rm-travis-swift
  • ea48efd remove swift install & gen from travis
  • a44bfef fix silent plugin failures & goimports dep (#95)
  • 48a0ece Merge pull request #92 from googleapis/issue-82
  • bcaf8dd Modify generated ToRawInfo methods to always include required fields.
  • abb23ee Merge pull request #91 from googleapis/issue-85
  • 7b353ca Fix problem reported in GitHub issue 85.
  • 7c66326 Merge pull request #90 from googleapis/openapi-3.0.1
  • 540b249 Updating v3 schema and models for OpenAPI 3.0.1.
  • 664776a Merge pull request #88 from bobcatfish/go_get
  • 5ab77cc Add imported generated packages so that go get with ... can succeed
  • 6d7ae43 Update test/v3.0/petstore.text reference for new document structure.
  • e1d5b8e Recompile OpenAPIv3.proto to remove extra "." in generated Go code.
  • 1c132d4 Schema items value MUST be an object and not an array.
  • 15cf44e Merge pull request #80 from googleapis/swift-linter
  • 6d3e269 Measure plugin runtimes.
  • 46a6c8d Simplify Swift linter, add README
  • b742e68 First Swift linter, modeled after node/gnostic-lint-responses.
  • c698c77 Merge pull request #79 from googleapis/mdk/lint-responses
  • 3ce168e Fix license and metadata in package.json
  • 922394f Add linter plugin to check for array responses
  • 3b40d65 Merge pull request #77 from googleapis/gnostic-go-generator
  • b1bcdb8 gnostic-go-generator improvements
  • 3a9aa21 Fix build failure in tools/j2y2j
  • 49e5b5b Merge pull request #75 from googleapis/linter
  • 5cc16bc Remove the log message from Go plugin invocations.
  • 24e7e5b Rename gnostic-lint-node to gnostic-lint-operations and check for empty operationIds.
  • fe7f772 reorganize linters under now top-level "linters" directory.
  • 207e8b9 Add gnostic --messages-out= option to save messages to a file and report-messages tool.
  • 38e1a0d Update usage information for gnostic.
  • f15d928 Update node linter plugin to return messages.
  • 2d73408 Add shorter options for invoking plugins.
  • f23ce6e Restructure go linter plugin into two parts, add key paths to messages returned by plugins.
  • 9b6d3cc Merge branch 'master' of github.com:googleapis/gnostic into linter
  • 1a2cc6a Fix incorrect caching of parsed discovery documents.
  • b0d816c Optionally return new "message" representations from plugins. Collect and present them as a group.
  • f6a50d7 Add messages to plugin response interface.
  • 60e33b7 Avoid possible crash in surface model generation.
  • 38c6ffa Add messages to plugin response interface.
  • 2d947d2 Avoid possible crash in surface model generation.
  • 933c109 Improve error message that's generated when plugin writes invalid responses.
  • 75f5acd Merge pull request #72 from googleapis/linter
  • ca8a0b7 Updates to replace old 'openapic' with 'gnostic'.
  • 3a64dc2 Update README with protoc-gen-go installation instructions.
  • b3512e8 Update swift build paths to work on Linux.
  • 60af1ab Fix problems passing surface models.
  • 9c98339 Rework constructors of yaml.MapItem to enable future line-number tracking.
  • 27aa809 Reworked plugin interface to pass "any" model types.
  • 1b5b85c Merge branch 'linter' of github.com:googleapis/gnostic into linter
  • 0bf41be Minor improvements to the node linter.
  • 78ff1f3 Merge pull request #71 from googleapis/mdk/linter-updates
  • 0af64df Skeletal linter plugin written with node.
  • 568f2dc Minor updates to linter
  • 2f9a2a5 First linter commit.
  • 41d0337 Merge pull request #70 from googleapis/plugins
  • 774739f Merge pull request #67 from orsobruno/patch2
  • 51e3296 Merge pull request #69 from orsobruno/fix2
  • d80ec54 Updated openapi-3.0.json generated schema for PR 63.
  • 60d4140 Merge pull request #63 from RepreZen/task/374
  • 4606c5a Merge pull request #68 from orsobruno/fix1
  • aead050 Merge pull request #66 from orsobruno/patch1
  • 1a5d023 Initialize request surface if a plugin runs as standalone program
  • 1b5951d Fix null pointer exception if POST method has not body params
  • 065d9a7 Fix wrong file paths in documentation
  • 69fc950 Ignore generated extension files and IntelliJ IDEA project files
  • 3df79aa Merge pull request #64 from googleapis/plugins
  • e2a7c84 Update README for gnostic-swift-generator.
  • 6f81399 Validate Contact#url and Contact#email
  • ee43cbb Merge pull request #61 from googleapis/plugins
  • 123c61d Remove Stencil dependency and templates from gnostic-swift-generator.
  • afdd176 Pass new API surface model to swift code generator.
  • b927466 reenable Swift tests, update to Swift 4.
  • 623322d Update gnostic-swift-generator for new plugin model
  • 156e6ce Update gnostic-swift-sample for new plugin model.
  • fbbf904 Move surface model generation from code generators up into gnostic.
  • e815c22 Rename surface package.
  • 1541d00 Move code generation surface to gnostic top-level.
  • 01af9f2 Eliminate unnecessary "Wrapper" message from plugin interface.
  • d996827 Reworked plugin architecture to pass strongly-typed documents.
  • 091ca4d Fix gnostic-analyze build (OpenAPIv3 support is incomplete).
  • 0919c0e Merge pull request #60 from googleapis/discovery
  • 1cf62b5 Update README.md
  • 2efd131 Merge pull request #59 from googleapis/discovery-schema
  • e8a9282 Rework disco and Discovery Format to OpenAPI conversion to use proto-based structures for Discovery Format.
  • 33532e1 Fix gnostic unit test by properly detecting Discovery Format input.
  • 039bcf3 Complete schema for public Discovery Format documents, add error handling when docs are missing.
  • 2bc2636 Add generated Discovery proto support code.
  • 0b5a96d Additional support for Discovery Format, including round-tripping.
  • 57cf3a0 JSON schema for Discovery Format.
  • 99c5363 Fix urlshortener example.
  • de498e8 Refine gnostic-go-generator and add some model analysis to the disco tool.
  • 7456efc Continued refactoring of gnostic-go-generate to separate general and language-specific information.
  • 8a30dbc Steps to factor language-specific information out of core code generation model.
  • 4a0c6e5 gnostic-go-generator: remove unnecessary logging
  • a1a3c58 Fix gnostic-go-generator v3 bookstore sample.
  • ce3862e Continued simplification and refactoring of gnostic-go-generator.
  • 1831a8e Review and simplification of gnostic-go-generator.
  • b52c0f1 Restructuring gnostic-go-generator to isolate language-specific modeling.
  • 1b23de4 Internal renaming in gnostic-go-generator.
  • 3e12f6c Remove unused code from gnostic-go-generator.
  • c29787e Rework gnostic-go-generator to use proto-based data structures.
  • 57b0290 Merge pull request #58 from googleapis/discovery
  • 41a4df4 minor cleanup to error reporting during testing.
  • 26b9328 Update Swift dependency to 3.1.1
  • ae76de4 Add 3.0 bookstore test for gnostic-go-generator.
  • 3c44f9c Restructuring, work on gnostic_analyze
  • c01ef57 Remove gnostic-go-sample (subsumed by gnostic-summary).
  • b82e046 Update test data for sample plugin change and remove obsoleted build step from Makefile.
  • efd7f5b Fix gnostic build failure.
  • 4c1a5c5 Extensive refactoring of Go plugins to improve common code and make plugins runnable from the command line.
  • aa6f629 Merge branch 'master' of github.com:googleapis/gnostic into discovery
  • 0c51083 Merge pull request #57 from smarterclayton/order
  • fde0f34 Fix test failure and update urlshortener README.
  • 9e29d22 Improve urlshortener example.
  • 618c9d0 Minor improvements to comments.
  • aa1ce72 Rename discotool to "disco", clean up options, and add help command.
  • ba3af49 Go code generation improvements and disco2oas is now "discotool" with more capabilities.
  • 9045418 generated: Update OpenAPI v2/v3 to be more efficient
  • 4e17697 Generate compiled regular expressions rather than compile at runtime
  • f73d826 urlshortener demo for OpenAPI v3 (converted from Discovery Format).
  • 5def72d Fix variable shadowing problem that caused gnostic-go-generator to fail.
  • 8ebc524 Add missing files to gnostic-go-generator.
  • 0351c4a Convert Discovery Format to OpenAPI v3 and generate Go clients.
  • 132501e Merge branch 'master' of github.com:googleapis/gnostic into discovery
  • f58484c Merge pull request #56 from googleapis/openapi-v3.0.0
  • 6286b08 Update OpenAPI 3.0 schema, proto model, and compiler for the 3.0.0 release.
  • c3410d9 Add constants.go generator to gnostic-go-generator (currently with dummy values).
  • 4d84076 Improve discovery to OpenAPI2 conversion, add googleauth helper package.
  • 08a0295 Explicitly install goimports when building gnostic-go-generator.
  • 3fa578f Update gnostic-go-generator to use goimports instead of gofmt to format generate code.
  • 6c8c8a8 Add license headers to new gnostic-go-generator code.
  • bddc08d code generator refactoring.
  • 8fbc6db Update gnostic-go-generator/examples/2.0/bookstore/README.md.
  • e2b750b Update gnostic-go-generator README.
  • db440ae Strip template-related code from gnostic-go-generator.
  • 84393de Rework gnostic-go-generator to not use templates. Fix bookstore sample.
  • 7326d09 Partial rework of gnostic-go-generator to run examples converted from discovery format.
  • 00089b4 golint-driven cleanup of discovery work-in-progress.
  • bec5fdd Merge branch 'master' of github.com:googleapis/gnostic into discovery
  • e4f5655 Merge pull request #55 from googleapis/golint
  • 70208c3 golint-driven cleanup of generated code and samples.
  • 70133ea golint-driven cleanup of main packages.
  • 261a66a Fix golint warnings in project root.
  • 53dbc1f Update README for generate-gnostic
  • 4207ac1 Merge pull request #54 from googleapis/openapi-v3.0.0-rc3
  • 8be6a89 First update to track the v3.0.0-rc3 schema.
  • c2626f8 minor simplifications to discovery -> openapiv2 converter.
  • 2813e86 Add basic scaffolding for converting Discovery to OpenAPI v3.
  • 253d71d Rename discovery tool to disco2oas.
  • 9ad89d3 Merge branch 'master' of github.com:googleapis/gnostic into discovery
  • 2eedfa5 Merge pull request #53 from googleapis/openapi-v3.0.0-rc2
  • 9dee95c Remove "name" and "in" properties from v3 header parameters.
  • cf54192 Regenerate openapi-3.0.json schema.
  • 5f8f7b7 Merge pull request #52 from MikeRalphson/header_regex
  • e2888c8 Merge branch 'openapi-v3.0.0-rc2' into header_regex
  • 2c57c70 Restore Kitura-based fetch.
  • 71a1e5a Update Swift samples.
  • 8557e05 Update schema- and code-generation for the latest openapi-v3.0.0-rc2.
  • 12508c8 Merge branch 'openapi-v3.0.0-rc2' of github.com:googleapis/gnostic into openapi-v3.0.0-rc2
  • 7524180 Merge branch 'master' of github.com:googleapis/gnostic into openapi-v3.0.0-rc2
  • 67fcc55 Expand command-line interface of "discovery" tool, begin debugging output.
  • 4465ced Rename OpenAPI generation method to OpenAPIv2().
  • eef9741 Merge branch 'master' of github.com:googleapis/gnostic into discovery
  • 1b1b3ae Move Discovery Format support to a top-level subpackage.
  • db1e15f First pseudo-complete conversion from Discovery Format to OpenAPIv2.
  • 7d8e313 First steps toward converting Discovery Format to OpenAPI.
  • 06acf00 Regenerate openapi-3.0.json schema
  • f90e2a8 Headers object key regex was too restrictive
  • a0808e8 Merge branch 'master' of github.com:googleapis/gnostic into openapi-v3.0.0-rc2
  • e4aad78 Fix crash in extension handler when called with a nil context.
  • 2bc9733 Avoid crash in gnostic-analyze when an array type has no specified "items".
  • 86c238c Enhance compiler to also accept ints as map keys.
  • 1dcca23 Recognize OpenAPi versions by matching "2.0" or "3.0" prefixes.
  • 17d038a Add test for v3 petstore builder sample.
  • 6a6dfd1 Extend petstore-builder example to build an OpenAPI v3 description.
  • 06b4eb6 Enable JSON/YAML output for OpenAPI v3.
  • b2a281d Updating with recent changes to the v3.0.0-rc2 draft.
  • be20795 Merge branch 'master' of github.com:googleapis/gnostic into openapi-v3.0.0-rc2
  • c6cecf4 Merge pull request #51 from googleapis/yaml
  • 8cce2a7 Update README.
  • ebb4f17 Add README for jsonwriter package.
  • 4a84deb Add petstore-builder sample app, fix problem in gnostic json export.
  • 10e2653 Add JSON output and tests for both YAML and JSON output.
  • 60d5b49 YAML output improvements: better handling of enums and extensions.
  • 5a9774c Set OpenAPI version number properly when reading descriptions from .pb
  • 2da4b2e Significant progress on YAML export. Known problem with "Any" type and enums.
  • 37e4bdd Progress toward YAML export: strings and structs.
  • dc1b7ab Preliminary structure for generating yaml output from proto representations.
  • 9e0fa7d Support binary pb input.
  • 9342f30 Continued main() refactoring + test for unidentifiable version.
  • 0db9148 Begin refactoring gnostic main() into a struct with associated functions.
  • a5a43b3 Merge branch 'master' of github.com:googleapis/gnostic into openapi-v3.0.0-rc2
  • 70f5494 Fix Go plugins and extensions to not crash when they receive empty inputs.
  • 49252aa Generate a buildable model for OpenAPIv3 from the latest schema.
  • 5bba760 OpenAPI 3.0 schema: maps of strings contain elements of the primitive string type.
  • fa132a2 Schema updates for the latest 3.0.0-rc2 draft.
  • 4adc4af Merge branch 'openapi-v3.0.0-rc2' of github.com:googleapis/gnostic into openapi-v3.0.0-rc2
  • edb4324 Merge branch 'master' of github.com:googleapis/gnostic into openapi-v3.0.0-rc2
  • 16034ef Merge pull request #50 from googleapis/renaming
  • b862231 Merge pull request #46 from googleapis/extensions
  • f575501 rename "generator" to "generate-gnostic".
  • 3e97288 Accept both "_out=" and "-out=" (preferred) in command-line options.
  • 130582c Update README for new naming convention.
  • 7cb9894 New plugin naming convention uses "-" instead of "_".
  • 0ee699d Simplify extension samples.
  • 99cf867 Replace "openapi_extensions_" with "gnostic-x-" prefix in generated extensions.
  • 3e6d2c0 Change extension option to "--x".
  • 4093ca8 Merge pull request #44 from guptasu/fixPrimitiveExtenionsIssue
  • 120c69b Merge pull request #45 from MikeRalphson/headerpp
  • b555aa4 Regenerate openapi-3.0.json schema
  • 214ff8f Copy patternProperties from parameter to header object
  • e2ef814 Add todo for arrays as primitives
  • 8e73446 add support for primitives bool, number, integer and strings.
  • 7713cf2 Merge pull request #43 from MikeRalphson/rc2
  • 5949630 Regenerate openapi-3.0.json schema
  • 9c8fede Amend HTTP Response Code regex
  • 5daaed9 Amend Scopes Object {name} regex, refs #42
  • 9186dfd Fix the extension.go to pass string instead of unpacked mapslice object to the individual extension handlers.
  • 854416b do the yaml unmarshaling in the extension code instead of shared code.
  • dd9b2b7 remove the restriction of the input to the extension handler already being a yaml.mapslice
  • 96092d9 Merge pull request #40 from RepreZen/openapi-v3.0.0-rc2_pattern-properties
  • c66ccd8 Add '"additionalProperties": false,' to generated openapi-3.0.json.
  • 4a3165b Merge branch 'master' of github.com:googleapis/gnostic into openapi-v3.0.0-rc2
  • 2cbc9d4 Merge pull request #38 from RepreZen/additional_properties_false
  • 82c3a61 Generate JSON Schema for OpenAPI v3
  • afbc719 Fix the {path} regex in paths
  • 57be075 Replace human-friendly (and regex-confusing) description with a blank pattern
  • c4beeb6 Fix regex for mediatype
  • 669f607 Component names should match "^[a-zA-Z0-9.-_]+$"
  • 39a4144 Removing "additionalItems" attribute from 3.0 schema definitions.
  • ca0d36e Updated 3.0 spec, schema, and generated code to allow $refs in Components object maps.
  • f5605ad Prohibit additional properties in schema definitions
  • a1651a4 Updated openapi-3.0 JSON Schema with guidance from Mike Ralphson.
  • 59083ac Update generated code and test data for 3.0.0-rc2.
  • 804d0bd Update 3.0 specification and schema generator for 3.0.0-rc2.
  • 68f4ded gnostic: return errors that occur during yaml (and json) reading.
  • 14dbc92 gnostic_analyze: remove some redundant internal values, improve enum presentation
  • b1020d7 Add checking of arrays of enumerated string values.
  • 39d11d2 improve gnostic_analyze type-reporting, add enum-checking to gnostic.
  • 34d62dd gnostic-analyze: recognize some field types that can be represented with maps.
  • 2c35e4e Improve reporting of anonymous objects in operation responses.
  • 1ec53e8 More detailed reporting about anonymous objects and operations.
  • 64459ae gnostic_analyze: treat definitions with no specified type as "object"
  • a98934e Merge pull request #37 from googleapis/openapi-v3
  • a12bc78 gnostic_analyze reports APIs that are "clean" for code generation.
  • e900e70 Extend gnostic_analyze to count APIs that have anonymous objects.
  • ea7ad47 Specification Extensions are now oneof several primitive types.
  • 6795dcf OpenAPIv3 schema and compiler improvements.
  • 4de5550 Minor improvements to the OpenAPI 3.0 schema.
  • 6a17d35 Merge branch 'master' of github.com:googleapis/gnostic into openapi-v3
  • fed0d5a Fix problems resolving JSON References.
  • 8a5f485 Manual fix to OpenAPIv3.go
  • 5dcf1ad Refinements and fixes to the OpenAPI v3 schema.
  • ecbe55f Merge pull request #36 from googleapis/gnostic_go_generator
  • c5129be Fix error in gnostic_analyze type determination.
  • dfa1a4f Add README describing gnostic_analyze.
  • c9812a2 Fix problems leading to incomplete reading of apis.guru sample descriptions.
  • eca7d1c Update test error output to fix tests.
  • 03b2399 Fix a few problems found when reading apis.guru models.
  • 36b4c8c Improve reporting in gnostic_analyze
  • cd8898e Add gnostic_analyze tool for analyzing OpenAPI descriptions for potential problems.
  • c12fd29 Merge branch 'master' of github.com:googleapis/gnostic into gnostic_go_generator
  • 0f57f7a Add .DS_Store to .gitignore
  • e78b258 Short-term fix for type generation problem in Go code generator.
  • 2373ea4 Add comments for godoc.
  • f733c1f Improve error handling in extension-related code.
  • 228c9cd Merge branch 'master' of github.com:googleapis/gnostic into gnostic_go_generator
  • 78fd66a Rename "util" to "tools"
  • 5ea14d7 Add README files to describe the contents of project directories.
  • 06e922d Add a JSON example for OpenAPI 3.0 and put some formatting tools in util.
  • 29fdfca Minor README clarifications.
  • 7dfbc16 Improve READMEs and organization of support code.
  • e207119 Merge branch 'master' of github.com:googleapis/gnostic into gnostic_go_generator
  • 60ac10b Usage changes to fit all lines within 80 columns.
  • e0128d8 Improve Go generator to support more examples.
  • 5f84bc3 Basic error reporting from plugins.
  • a3fae22 Merge branch 'master' of github.com:googleapis/gnostic into gnostic_go_generator
  • c90a3bf Merge pull request #33 from googleapis/openapi-v3
  • edcb085 Merge branch 'master' of github.com:googleapis/gnostic into openapi-v3
  • 5576a65 Merge branch 'master' of github.com:googleapis/gnostic into gnostic_go_generator
  • 2d0a48c Aesthetic improvements to gnostic_go_generator code.
  • bbb6bd7 Merge pull request #32 from guptasu/forkgnosticextension
  • 9fcea5c Accomodate comments from timburks (mostly renaming and changing license string to 2017 year)
  • 05635a9 Fix gnostic_go_generator to check its executable name against the appropriate values.
  • a65ad5b Go code generation improvements (driven by a test that calls the apis.guru API).
  • e510a65 Install the sample extensions to make the tests work.
  • e3f9386 Incorporate TimBurks feedback on the PR
  • 13ae0bb Add first 3.0 test.
  • 078a7fa Remove "default" from HTTP response code pattern since it is explicitly specified in 3.0
  • 604fa03 Update tests for additional error reporting.
  • d0cd119 Improved error reporting and fixes to the v3.0 petstore sample.
  • 68426d3 OpenAPI 3.0 schema improvements + better error reporting in generated code.
  • ba4f186 Modify pattern matcher to replace strings like "{path}" with ".*".
  • aa6f255 OpenAPI 3.0 schema modifications to support reading a simple example.
  • f642d88 Structural changes to allow gnostic to read OpenAPI 3.0 descriptions.
  • 78aa423 Fix bug in required field representation (in schema builder)
  • c090343 minor simplifications to schema generator, export implied types in alphabetical order
  • d631cf5 First programmatically-constructed JSON Schema for OpenAPI v3. Incomplete.
  • 0f26ee0 Track the types needed for maps and unions.
  • 4754700 More progress toward a 3.0 schema.
  • d00a5d0 Progress toward an automatically-constructed OpenAPI 3.0 schema.
  • 95b3aad Automatically recognize maps in the OpenAPI v3 specification text.
  • 0c58bee Manually remove some unused entities from the 3.0 schema.
  • a7298c6 Renaming ProtoConverter to ExtensionHandler and some cleanups.
  • 92a1bd2 Fix the unpredictable output of switch case on extension names.
  • d057004 Move code from generated compiler code to a shared extension-helper.go.
  • d511fef Add support for vendor extensions
  • f77c7c5 Detect arrays and required fields in OpenAPI Specification text.
  • 2dda7fc Improvements to the OpenAPI specification reader / model builder.
  • 030ab52 Merge branch 'master' of github.com:googleapis/gnostic into openapi-v3
  • 6cd5073 Add license header to reader.go
  • f41b8a5 Add a preliminary reader that extracts schema information from the spec text.
  • fb36e25 Canonically-order openapi-3.0 schema.
  • 8e17979 More complete support for writing JSON schemas.
  • 9ac56b8 Initial improvements to jsonschema package to support writing schemas to json.
  • b64599e Automatically-formatted openapi-3.0 json schema.
  • ad49dea Progress toward an OpenAPI 3.0 schema and some improved error-handling in the schema reader.
  • 1422b29 Improve error reporting and display in the compiler generator.
  • 3eb7c92 Update tests for new executable name (gnostic).
  • 83b9788 A few steps toward an OpenAPI 3.0 schema.
  • 213aed0 Generator enhancements to support OpenAPI 3.0 schema processing.
  • 272f564 Fix paths in the generator that were broken by the name change.
  • 6d420d1 README updates
  • 823d321 Merge github.com:googleapis/gnostic
  • 2f48272 README updates
  • 71e4696 Merge pull request #30 from timburks/master
  • 16eb5f6 Rename Swift examples to use "gnostic" instead of "openapi" or "openapic"
  • 5ecc5c9 README updates.
  • 3db6883 Merge branch 'gnostic' of github.com:timburks/gnostic
  • 8c10f2a Add gnostic.go
  • 89eab0e Revise README.md to use "description" instead of "specification" where appropriate.
  • d1e4ef6 Renaming openapic to "gnostic".
  • 2792cf5 Renaming openapic to "gnostic".
  • 8583f9c Merge pull request #29 from timburks/openapi_swift_generator
  • e838b6d openapi_swift_generator: Updated Stencil to an official 0.8.0 tagged version.
  • ef8b172 Merge pull request #28 from timburks/openapi_swift_generator
  • 2e6dc1c Move Swift bookstore server to port 8080.
  • bf718b9 Add license headers to Swift templates.
  • a324675 Use consistent calling conventions for template methods in openapi_swift_generator.
  • a9dea2d Improve openapi_swift_generator to generate both asynchronous and synchronous client handlers.
  • 636cb08 Merge pull request #25 from timburks/openapi_swift_generator
  • 9613703 Remove unneeded Log calls and move Swift code generation to examples/bookstore Makefile.
  • 9f9913b Rename InternalLoader to TemplateLoader in openapi_swift_generator.
  • a31fd29 Add the ability to create separate generators for client-only and server-only code by simply renaming openapi_swift_generator.
  • 1d2e1d8 Add READMEs for bookstore example for openapi_swift_generator.
  • 670914e Remove forced unwrapping from Swift templates used by openapi_swift_generator.
  • fcf4e81 Update Swift generated client to use KituraNet to make requests
  • 97d756f Travis testing of openapi_swift_generator, fix build problem on Linux
  • d849b67 Updated license information in file headers for openapi_swift_generator.
  • b7d4a76 Fix compiler warnings in Swift BookstoreTests.swift (openapi_swift_generator)
  • 56954aa Fix warnings in code generated by openapi_swift_generator.
  • 3109f96 Generated Swift bookstore client and server sample passes unit test.
  • d43b28c Add "kituraPath" function to openapi_swift_generator to convert path names to Kitura-style.
  • c2a3d83 Kitura server stubs for openapi_swift_sample
  • f537b18 Swift tests for openapi_swift_generator Bookstore sample
  • 108caf6 Simple JSON conversion to and from API structures in openapi_swift_generator
  • 6835492 Add synchronous request-making to openapi_swift_generator.
  • 6ad5229 Client stubs for openapi_swift_generator
  • 0f3b517 First buildable partial results from openapi_swift_generator.
  • 2cc81af Early progress on openapi_swift_generator: generating types.swift
  • c36bbcd Restructure the Swift generator to move template processing into a Renderer class.
  • 438ce96 Minor fixes and cleanup of swift generator stub.
  • 371db70 Merge branch 'master' of github.com:timburks/openapi-compiler into openapi_swift_generator
  • 6743575 Merge github.com:googleapis/openapi-compiler
  • 0d2d435 Include the plugin output path in the plugin request so that it can be used in the go generator plugin.
  • 4cf8995 Add README for openapi_go_generator.
  • 72ada8f Merge pull request #23 from timburks/master
  • aa6e028 openapi_go_generator: remove unneeded logging and return 400 for bad requests.
  • 72df854 Improve error handling in openapi_go_generator generated code.
  • edece67 Simplified the user-generated bookstore service code and verified for App Engine and standalone use.
  • cc6751a Simplify service in bookstore server example.
  • e220249 Add error representaton and simplify bookstore service example.
  • 8f73f38 Remove unneeded "invocation" field from plugin Request message.
  • 32721c4 Add Travis testing of code generated by openapi_go_generator.
  • 85f46b8 Add regex validation of plugin parameters, improve general error-handling, and add tests.
  • 13c1362 Simplify plugin interface.
  • ed4be34 Refine packaged server code and examples, improve documentation in generated code.
  • 66d17d5 Restructure code generated by openapi_go_generator to put service code in a package.
  • 829653e Fix error in bookstore_test.go import path
  • 82690b1 Add empty Swift templates to openapi_swift_generator.
  • a121233 Initialize openapi_swift_generator with a copy of openapi_swift_sample
  • 57af19e Minor change to output-writing to fix project tests.
  • 5114f11 Move examples into openapi_go_generator directory.
  • e4218e4 Add README and simplifications to the bookstore example that demonstrates the OpenAPI Go generator plugin.
  • 46f05e8 Add a few functions to simplify go generator templates
  • c6da729 Improve go generator plugin to exclude types for unused parameter and response sets.
  • 8a47387 Makefile for openapi_go_generator
  • 1dd5477 minor cleanup, add license headers to openapi_go_generator source files
  • 80e275e restructuring openapi_go_generator
  • e117ba3 Merge openapi_go_client and openapi_go_service into openapi_go_generator
  • 423d78c Clean up Go bookstore generated client and server, add a Client struct.
  • 3f7e97a Improve Go client and server generator to allow bookstore test to use generated code.
  • 7a093bc Add option-passing to plugin interface, refactor go generator into two plugins
  • 0a87c5d Refactoring go service generator into separate generators for clients and services.
  • df0119b Partial client code generator in go service generator example
  • b1f9a64 Go service generator calls gofmt to format generated Go code.
  • 7fb037b Go service generator plugin now builds working bookstore example.
  • 1525cb9 Reorganize and simplify templates in go service generator example
  • d03cae0 Some progress on go service code generation example
  • 8da5e0a Adjust a few type names.
  • 90bb5ff Progress building parameters and responses objects in Go code generator.
  • 351ec9b Some progress on generating structures.
  • 62ae6da Update compiler to write files generated by plugins to specified directories.
  • b9fc9a5 Enhance Go service generator plugin and openapic to write some basic (incomplete) files.
  • 25c8732 Initial Go service generator plugin, imported from prior service generator project.
  • 68774c3 Minor updates to README and COMPILE-PROTOS.sh
  • ad590c6 Extend output options to infer output file names when only directory names are provided.
  • b459f19 Rename go openapi_sample plugin to go/openapi_go_sample.
  • 3453f1d Add simple Swift sample plugin.
  • ce00039 Minor improvements to simplify plugin development.
  • 76df6b8 Require option to explicitly-resolve $refs.
  • 0d0363a Clean up and simplify the main compiler code.
  • 90bac93 Add code generation options to plugin.proto.
  • b670203 Add code generation options to generated OpenAPI protos.
  • 793a541 Correct error in proto comments.
  • 623c7d1 Run tests verbosely.
  • b588844 Remove unused configuration file.
  • ed5100a Adjusted Travis configuration to only attempt to run tests in the root directory.
  • 751785e Minor update to app usage string.
  • 4825364 Minor improvements to the way errors are printed.
  • 0a0a016 Reworked command-line options to be more like protoc, including plugin invocations.
  • 92daff8 README update.
  • c5d284f Update sample plugin to write PluginResponse to stdout.
  • b37d7c1 Reviewed and improved some plugin message and field names.
  • d64f699 Add experimental plugin mechanism and sample plugin.
  • e776789 Replace -errors with -errors_out and write flag descriptions as full sentences in active voice.
  • 1c3a8e7 Remove -raw command-line flag and rename -keep-refs to -keep_refs.
  • 9539760 Merge pull request #19 from guptasu/newFlagForOutPath
  • 67a0632 Fix the test to use the new output flags.
  • aef3077 Fix readme unintentional changes.
  • a58ae0f Merge branch 'newFlagForOutPath' of https://github.com/guptasu/openapi-compiler into newFlagForOutPath
  • 32dabe6 Passing tests clean up after themselves.
  • 1f9842c Remove default creating of output files (unless explicit out flags are provided)
  • 11fbc3b Add flags for output path (#3)
  • 7edbe72 Rename compiler_test.go to openapic_test.go
  • 934e79c README updates.
  • 982da1f Modify travis configuration to explicitly build openapic.
  • 74d06f2 Move tests back to top-level directory.
  • 41a3c91 Rename executable to "openapic" and move compiler main source and tests into openapic directory.
  • f96c42f Store contents of "Any" objects as YAML in a field named "yaml".
  • 75c6c62 Fix readme bases on the new flags
  • 6088a64 Add flags for output path (#3)
  • 2d8e887 Update README
  • 70131a6 Add permissive interpretation of [] as a valid empty map.
  • 4e5084b Add tests for error reporting.
  • 9c25776 Report errors that occur when resolving references.
  • 5ce37f0 Fix a few errors found when reading https://api.apis.guru/v2/specs/apis.guru/2.0/swagger.yaml
  • 3ae78c4 Update README to illustrate compiling of remote files, remove extra debugging logging.
  • 32f35c6 Add "separate json" tests, both local and remote.
  • d434b91 Caching and more robust handling of bad urls.
  • d95ac29 Refactor reader code into a separate file (reader.go).
  • bdbd6ce Extend compiler to read remote files over http/https.
  • c032159 Improve error reporting to be more thorough and more human-readable
  • f1f00e1 Minor reordering of generated code to be more internally consistent.
  • be7d92c Restructure generated code so that maps are only accessed if they are successfully unpacked by type casts.
  • e41e5b5 Refactoring generator into small pieces + simplified error handling.
  • 3f841e7 Refactor generator to separate type models and domain-related code into separate files.
  • 70057fd Refactor generator to use the term "domain" instead of "typeset" and "TypeCollection"
  • 69ac37f Refactor generator to use the term "type" instead of "class" in the model that is built from the schema.
  • 0d3f0da Rename "helpers" package to "compiler".
  • acf8307 Fix problem preventing support for vendor extensions at the top level of specifications.
  • 7d27e76 Fix problem in error printing that caused accidental dereferencing of nil values.
  • ebd0e03 The openapi-compiler -input option was recently renamed to -in.
  • 6c628b5 Merge branch 'master' of github.com:googleapis/openapi-compiler
  • f36ee5a Basic structure for returning groups of errors.
  • e119f8a Fix type in README. (#15)
  • 9857a82 Add error.go file, fixing build error.
  • b2db72a Use context to report the location in the specification of errors.
  • 1c8b2a8 Additional context tracking (for error reporting).
  • b62ca1c Add missing helpers/context.go and connect a few NewContext calls.
  • 13c6d3e Add Context argument to schema constructors; we will use this to report the location of errors.
  • a140f32 Better handling of "additional properties" items, but still not quite right for scalar types.
  • d878319 Changes to robustly read large samples. Temporary schema modification to treat anyOf as oneOf.
  • 33a1085 Provide additional detail in generated errors.
  • 895e084 Rename source input from -input to -in, change tests to use the build produced by "go install".
  • 6600cf5 Simplify and improve tests to better follow Go conventions.
  • f9483ed Resolve JsonReferences that are insode oneOf schema elements, add test and test data.
  • 01a6c01 Improve $ref resolution and update test data.
  • f3800ae Partial resolution of JSON references ($ref). $ref values inside schemas replace the contents of the schema.
  • e4829d8 Add ResolveReferences() functions to generated code to traverse models and find $ref instances to resolve.
  • 9115f9e Merge pull request #14 from guptasu/master
  • dc83afd Add travis support for googlapis/openapis-compiler
  • c3b4eaf Merge pull request #12 from guptasu/master
  • b77904a Add Travis file to for continuous integration
  • e571e26 Add git ignore to make development with eclipse using goclipes easy.
  • 1d3ec2b Merge pull request #10 from guptasu/master
  • 04a9f0c README was referencing a missing file generator.go.
  • 9ed576e Add comments to generated code to describe automatically-generated map support classes.
  • eff55f1 Replace remaining error-logging with returned error values.
  • fff3281 Return errors when New[x] methods are passed unexpected types.
  • 3b6c7a2 Add a bit of structure to the generated imports.
  • eacf43b Restructure generated compiler code to return errors.
  • 7913b36 Add description fields from OpenAPI schema to the generated proto as comments.
  • a628664 Update proto package name to "openapi.v2".
  • f9579e1 Add basic tests of json and yaml reading.
  • 40a69a3 Refactor jsonschema.go into four parts: models, builders, display, and operations.
  • 68c7aa3 Restructure generated code to reduce map searches.
  • 549e93a Save extensions and other "Any" values as JSON.
  • d0f5d0c Rename "Build" methods to "New" methods to follow Go convention.
  • 3c8f86b Simplify command-line interface of apps/report example.
  • 507d38e Code generation override to correctly read Schemas in Schema items arrays.
  • 728a3c9 Add petstore.yaml example.
  • f2466a5 Updated README.md to note YAML support.
  • f62ad94 Update examples/petstore.json to match petstore.yaml.
  • 9465d53 Convert reader from json to gopkg.in/yaml.v2 and make the report tool a bit more robust.
  • ad5d3d7 Replace maps in generated protos and code with ordered pairs.
  • 4d5a67f Explicitly maintain mapped type info for map properties.
  • 677dfce Replace maps in JSON Schema models with order-preserving slices.
  • 865fdde Read JSON Schema with YAML reader.
  • a3834d0 Class models store properties in arrays instead of maps.
  • cd2eb87 Remove implicit keys from "allowedKeys" in generated compiler and alphabetize allowedKeys and requiredKeys arrays.
  • 8284805 Update README.md with improved instructions.
  • ff54fe5 Add generated protobuf code so that "go get" will build successfully.
  • 55d3ac6 Moved generated files into version-specific "OpenAPIv2" directory and checked them in.
  • be70620 Rename "helpers" directory to "codegen".
  • 10d50bc Move compiler helpers into separate "helpers" package.
  • bd10461 Move jsonschema code into separate package.
  • c83a4e4 Expand apps/report example to print more details of an OpenAPI proto.
  • 19cac81 Rename code printer Text() method to String() to follow Stringer convention.
  • d15aa01 Revise code printer interface and add Indent() and Outdent() methods.
  • 4472556 Move codebuilder to new "printer" package.
  • fb4795b New simple "report" app.
  • a61e14a Add json and binary proto output.
  • d2a71a2 Add a few command-line flags to openapi-compiler
  • 0f3e09d rename display->description and displaySchema->describeSchema
  • 6eb48f5 Minor cleanup
  • a211a9a Better property name checking and discrimination of oneOf elements.
  • eeace51 explicit handling of StringArrays
  • cdd5d75 Fix incorrect handling of additionalProperties elements containing oneOf elements.
  • a370d25 Hacks to read blobs.
  • c463b94 Some (ugly) hacks to read type strings and other properties.
  • b5f8f3d Fix errors in reading enums in JSON Schemas
  • 84f64e7 Modeling refinements.
  • fc8e33c Improved handling of OneOfs, fixed reading problems for floats
  • a08f596 Minor documentation and naming improvements.
  • edf087b Improved completeness of generated protos.
  • bfceb88 reviewed model-building in classmodels.go, removed classname hack from json reference resolution
  • 46b5966 move compiler-generator helpers to separate file
  • 193ce5a Reviewed and internally documented JSON Schema model (in jsonschema.go).
  • 3eee529 Add missing license to codebuilder.go, minor file renaming
  • bd3d357 Explicitly pass license text into code generators.
  • b4af3f3 Rename generator.go to main.go
  • 8a49e4c Move compiler and proto generator into separate files
  • b374180 Restructure generator into multiple files
  • e0b8bb3 Add CodeBuilder class
  • 01b98c0 Read a few more types and display resulting proto in protobuf text format.
  • 8d9dbf1 Reader expands messages, compiler helpers moved to helpers.go
  • 7e773bd Reading string arrays
  • fb00b3e Build code with dedicated CodeBuilder class.
  • 47782ca Use gofmt to format generated Go code.
  • c507db7 First generated readers for string properties.
  • 94967a8 README improvements and minor new commments and additions.
  • 3d6d3a7 Begin generating stubs for proto readers.
  • 85cdd93 Initial structure for compiler generation.
  • 7d00e15 Rename LICENSE file.
  • 5e15d32 Add Apache 2 license header to generated proto files.
  • 29ca1a3 Cleaned up and established basic structure.
  • f16a0d1 generate basic proto for OpenAPI 2.0
  • cc32599 fix bugs in proto generation
  • 476d422 Progress but more bugs to fix in model building
  • a664252 basic .proto creation (untested by protoc)
  • 01131eb general cleanup
  • 8974033 Simplified schema reader.
  • b3fb1d2 more detailed class modeling
  • cfb85c9 Loading and simplifying schemas.
  • 2846dd8 build and integrate jsonschema.proto
  • 309ea05 Initial commit