1
0
Fork 0
Commit Graph

129 Commits

Author SHA1 Message Date
Wilfried Goesgens 8d31426eb3 Move python scripts into the scripts directory 2015-12-09 00:00:49 +01:00
Wilfried Goesgens 8f10c2b8a1 Generate markdown from the restdescritpion instead of html. 2015-12-08 23:47:18 +01:00
Jan Steemann b8b9956acc added extra edges handler 2015-12-03 13:11:03 +01:00
Jan Steemann c053c78e51 update swagger file locations 2015-12-03 13:08:43 +01:00
Wilfried Goesgens f4c68b9dd1 raise an exception if a RESTREPLYBODY is seen before RESTRETURNCODE 2015-10-01 20:09:08 +02:00
Wilfried Goesgens a9ea2122d5 Revert 9cd38eba44 again. 2015-09-24 14:09:14 +02:00
Wilfried Goesgens 9cd38eba44 Partially revert 6aabcb99c5 - this http interface is still required for blueprints. 2015-09-23 17:02:42 +02:00
Wilfried Goesgens 6aabcb99c5 Remove deprecated graph documentation. 2015-09-23 14:26:24 +02:00
Wilfried Goesgens 15b1d7cfd5 Migrate sub-structured replies to swagger2 preproc docu style 2015-09-18 17:02:53 +02:00
Wilfried Goesgens 90aab26866 Add html reply logger 2015-09-17 15:54:27 +02:00
Wilfried Goesgens a8e0818444 group the routes in the swagger api to get a leaner toplevel index 2015-09-17 15:53:19 +02:00
Wilfried Goesgens 70a2c74c1b Update RESTAPI documentation handling to work with the swagger 2 api
- use the structures from the swagger for post / reply structures
  - add missing documentation snippets to their respective places
  - fix syntax of documentation blocks
2015-09-16 16:35:13 +02:00
Wilfried Goesgens 176b150c46 Implement possibility to add reply grammers via the documentation. 2015-09-14 10:49:28 +02:00
Willi Goesgens 8d0d1491f8 Propper highlighting and escaping for examples. 2015-09-11 15:04:55 +02:00
Willi Goesgens 9090c83fe1 Add error checks:
- duplicate routes
  - invalid optionals
2015-09-11 11:24:46 +02:00
Willi Goesgens 211b2f083d Make parameter names <strong> 2015-09-10 16:46:28 +02:00
Willi Goesgens 9214ab08a1 - insert parameters into the place where we found it in the docu
- attempt to remove unneccessary br's
2015-09-10 16:22:46 +02:00
Willi Goesgens 116705c85c move the header of the Example into the example context header 2015-09-10 14:53:55 +02:00
Willi Goesgens a1f79533b9 make the required-node optional 2015-09-10 13:27:43 +02:00
Willi Goesgens 57111245f9 - no tempfiles, work directly on the source files
- better handling of sub-structured items
 - better error handling in case of structures are broken
2015-09-10 10:56:17 +02:00
Willi Goesgens e1ae661ae0 Work on multi-dimensional swagger post data 2015-09-09 17:40:51 +02:00
Willi Goesgens eb9e03f3f0 Upgrade the REST-API documentation to to swagger V2.0
Wrap lines in examples.
2015-09-09 15:21:18 +02:00
Willi Goesgens dce738ce9c Escape slashes for dos 2015-08-26 11:36:15 +02:00
Willi Goesgens deb1b6d4f1 use portability path dir separator 2015-08-25 18:08:55 +02:00
Willi Goesgens 2c099b8348 Add a js-scripted way to invoke the example generator - for now it needs a running arangod instance. 2015-08-25 17:56:25 +02:00
Jan Steemann 82ba366eef removed non-existing paths 2015-08-20 20:39:53 +02:00
Willi Goesgens 7014a94225 Use highlight.js for the examples 2015-08-17 11:50:35 +02:00
Willi Goesgens 068459c70c move header of examples out of the python script, lint it. 2015-08-16 17:53:03 +02:00
Willi Goesgens f07e146ad4 Handle combination of multiline and hidden lines 2015-08-14 14:59:27 +02:00
Willi Goesgens f6767d1fbd List skipped filenames as a bunch, not one per line. 2015-08-13 14:26:01 +02:00
Willi Goesgens ab0c69df30 raise error if a broken URL was specified during creating the example. 2015-08-13 13:07:16 +02:00
Willi Goesgens 76dbe1b8cf execute examples in their complete alphabetical order, regardles of whether they're OUTPUT or RUN 2015-08-11 14:13:53 +02:00
Willi Goesgens a05e0fb246 Smarten example generator 2015-08-06 17:52:36 +02:00
Willi Goesgens b412b4b4de Enable filter to be regexes, so groups of examples can be built. 2015-08-06 15:38:53 +02:00
Willi Goesgens c6521c0b92 accept blanks before auto-code blocks, so we can have indend blocks in markdown. 2015-08-05 10:22:26 +02:00
Willi Goesgens 021d01e4fe Rework index documentation; add more executed examples. 2015-08-04 18:42:44 +02:00
Willi Goesgens 0222af45dc New development mode: generate just one example so you can quicker revalidate the example you're working on. 2015-07-31 16:13:13 +02:00
Jan Steemann 237276c18d fixed graph examples 2015-06-03 17:10:50 +02:00
Jan Steemann 6dd786fb3c make temporary file name local 2015-05-06 18:34:03 +02:00
Jan Steemann 72f89c0a91 allow multiple source files per swagger target 2015-05-06 18:31:31 +02:00
Willi Goesgens f252736a75 Escape html characters while putting examples into swagger templates. 2015-05-05 10:10:38 +02:00
Willi Goesgens 312972a4ec Modify examples so they clean up after their run. 2015-05-04 17:22:25 +02:00
Willi Goesgens 09ca6253ae Modify documentation sample generation script
- be more inteligent in .js, not so much 'paste it dumb in from python'
  - catch errors and report them so the build process will abort
  - keep the source filename of the snippet for smarter errormessages
  - modularize python code into more functions
  - write head & tail .js code from own functions.
2015-04-27 17:05:08 +02:00
Willi Goesgens bbb7ebef79 Example generator:
- restructure generated code, so its a bit more readable
  - catch errors, and if some were caught, throw all of them at the end causing make examples to abort.
2015-04-23 10:47:38 +02:00
Jan Steemann 92c8dc9429 fixed documentation
Conflicts:
	Documentation/Scripts/generateSwaggerApi.py
2015-04-03 13:22:44 +02:00
Jan Steemann e672d791b5 refactored cursor API, added export API 2015-03-30 18:03:42 +02:00
Jan Steemann 137537f915 issue #1245: Small bug in Tools -> API (auto-created documentation) 2015-02-13 09:09:49 +01:00
Willi Goesgens d96907d8da Implement tastks REST api
- Implement REST api for tasks
 - Implement wrappers in arangosh
 - Add API-documentation
 - move unittest from server to common
2014-11-11 12:39:09 +01:00
Jan Steemann cf6fcb2fc1 linted python files, regenerated derived files 2014-10-29 23:56:20 +01:00
Thomas Schmidts b1fb5478a7 Fixed wrong API docu for /job 2014-10-28 16:08:59 +01:00