Commit Graph

36 Commits

Author SHA1 Message Date
Martin McKeaveney 65d41fdd20 better tests and cleaner import for server 2022-09-15 19:51:11 +01:00
mike12345567 eeda89725d Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
mike12345567 77b2e68935 Updating specs to state that oneOf is allowed, fixing YAML issue and making sure allOr function works for lucene. 2022-07-05 19:54:11 +01:00
mike12345567 1742c071cc Updating definitions. 2022-07-05 18:51:34 +01:00
mike12345567 41ec92bf9b Fix for #5117 - raised a point that the docs didn't describe where to put properties for a query when running through the public API - fixing the spec. 2022-03-28 18:33:54 +01:00
mike12345567 c1c879309f Making the URL optional for application creation/update in OpenAPI spec, removing unused parameter and fixing getRedisOptions function to work with fully qualified URLs. 2022-03-10 15:53:23 +00:00
mike12345567 6728f4efde Quick fix for openAPI spec, improving the search spec. 2022-03-08 17:42:26 +00:00
mike12345567 d058bb0569 Removing org ID from cloud spec. 2022-03-07 16:41:22 +00:00
mike12345567 2002728740 Adding the tenant ID to the Budibase Cloud URL, as well as setting up variables for them all as part of the server URL. 2022-03-07 13:21:30 +00:00
mike12345567 dadf3fef02 Review comments and linting. 2022-03-01 22:37:42 +00:00
mike12345567 d7dbcb2175 Adding a top level script for generating specs, symlinking the openapi yaml and json to top level as well. 2022-03-01 18:42:52 +00:00
mike12345567 d8b5cae569 Adding new generation technique, converting openAPI spec to typescript definitions, which are then applied in mapping output middlewares to make sure that the structures of the response are fully respected. 2022-03-01 18:35:08 +00:00
mike12345567 5ba723f935 Updating summaries, adding descriptions, wrapping responses with generic wrapper 'data'. 2022-03-01 14:37:35 +00:00
mike12345567 172850ae87 Switching the basic single row read to use the enrich endpoint. 2022-02-28 12:54:32 +00:00
mike12345567 2bc2d17066 Updating application output schema. 2022-02-28 11:29:48 +00:00
mike12345567 eed4111fe2 Rounding out user schema and query schema as required. 2022-02-25 19:26:19 +00:00
Michael Drury f84a459d24 Fixing some errors in the generated spec. 2022-02-24 23:25:03 +00:00
Michael Drury 46d23cfb25 Adding a testing system which generates the schema and compares against responses. 2022-02-24 23:21:10 +00:00
mike12345567 c62203a4a2 Generating from typescript files. 2022-02-24 18:15:13 +00:00
mike12345567 d4db4f4525 Updating specs. 2022-02-24 15:42:59 +00:00
mike12345567 c189550614 Adding controllers for row, query and applications public APIs. 2022-02-23 18:31:32 +00:00
mike12345567 4e522e39da Refactoring resource system, so that examples and schemas have individual files rather than all being lumped into one. 2022-02-22 15:06:08 +00:00
mike12345567 1f8da07767 Adding in request bodies. 2022-02-22 14:28:57 +00:00
mike12345567 710a340006 Updating output schemas and adding examples to everything. 2022-02-22 14:10:01 +00:00
mike12345567 7443a17458 Adding in all endpoints/open API definitions, need to flesh everything out. 2022-02-21 19:04:13 +00:00
mike12345567 23ccb924f7 Updating table schema and adding query endpoints. 2022-02-21 16:37:02 +00:00
mike12345567 85103cdf13 Adding a schema for tables. 2022-02-18 18:06:58 +00:00
mike12345567 94b5d771f8 Minor adjustment to get the right header for app ID. 2022-02-18 17:54:03 +00:00
mike12345567 890a17679c Adding in row schema for create/update, making sure all existing endpoints have appId specified. 2022-02-18 17:44:08 +00:00
mike12345567 9b28414bbb Rows API mostly complete, starting into tables. 2022-02-18 15:47:15 +00:00
mike12345567 23bd6d39e2 Adding a structure for breaking up examples and parameters. 2022-02-17 19:55:37 +00:00
mike12345567 dc56d06a11 Adding in public endpoint definitions. 2022-02-17 18:58:09 +00:00
mike12345567 d9eabe5404 Fixing up generation of openapi. 2022-02-17 12:40:08 +00:00
mike12345567 fb43a971e6 Specing out search endpoint. 2022-02-16 18:51:17 +00:00
mike12345567 b440657a54 Adding variables to generator. 2022-02-16 18:23:38 +00:00
mike12345567 d7b7900d91 Adding openAPI generation. 2022-02-16 16:42:50 +00:00