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

32 Коммитов

Автор SHA1 Сообщение Дата
Garrett Serack 3382126fb6 merged from master, fixed some conflicts 2019-01-25 11:58:24 -08:00
Garrett Serack 759862f8c5 expected 2019-01-25 11:19:03 -08:00
Garrett Serack 7c9f58a345 acceptable changes 2019-01-25 11:04:47 -08:00
Garrett Serack fe5dd2e00b known issues for 3.0 2019-01-25 11:03:36 -08:00
Johannes Bader feaf5e9b5c
file <=> message stuff (#2841)
* message <=> file translation

* filter on list inputs

* fix

* source map

* strict JSON parse

* nit

* regen
2018-02-06 16:41:01 -08:00
Johannes Bader b95f5d19cb
fixes (#2810)
* robust exit

* regen

* title lingo
2018-01-19 12:54:09 -08:00
Garrett Serack b900c8e6c6 More info (#2801)
* wip

* make perform-load work when no inputs

* adding more info to header printout

* filter out stuff not needed here

* update to 2018
2018-01-12 16:59:57 -08:00
Johannes Bader 965e4ad491
schema validation (#2750)
* undid modeler-only flag (whoops, past-me added that to the modeler's readme)

* dep

* schema-validator

* schema validation

* local schemas

* regen

* typo

* das fix

* rename
2017-12-04 11:10:14 -08:00
Garrett Serack 061fa49a34
Refactored Perks, with Help, other refinements (#2708)
* ready to integrate help

* test case

* help settings and rendering

* boilerplate

* decl

* more stable commonmark stage

* remodel help

* blaming ext. reference bug fix

* help pipeline

* updated perks packgaes

* padEnd polyfill, plugin refactoring, core help plugins

* cleanup

* dashdash

* yargs goodbye

* regen

* regen

* regenerated
2017-11-14 11:50:56 -08:00
Johannes Bader d495c38deb
ignore-nested-required a.k.a quirks mode (#2699)
* new C#

* fix build

* regen script

* fix install

* added quirksmode flag and transformer

* nested transform

* JSONPATH fix

* bump C#

* fix

* regen
2017-11-09 09:44:48 -08:00
Garrett Serack d2505fcbcd
Update external APIs+documentation. (#2692)
* uncomment loader!

* fixing checkout/install

* new inline interface pullthru

* cleanups and build changes

* API refactoring and documentation

* merged, moved to node 8.9

* removed unused critical section stuff

* quoted parameters in package.json

* someone added new stuff
2017-11-07 14:40:58 -08:00
Johannes Bader 0cc6fdc4b4
Swagger modeling things (#2683)
* config

* OAI pipeline

* normalize object outputs

* load x-ms-odata stuff correctly

* conversion fix

* regen

* ignore node process ID
2017-11-03 17:06:34 -04:00
Johannes Bader 7121d7189c emit exceptions too, some dedupe, less strict diff (#2651)
* emit exceptions too

* timeout once and for all

* log exceptions visibly

* regen

* mute file outputs

* regen

* indent
2017-10-11 12:52:15 -07:00
Johannes Bader d7aec27608 Next gen stuff (WIP) (#2639)
* require with test

* declare directive docs and set

* declare directive support

* set as a declaration

* more directive

* operation removal

* gist URIs and some cleanup

* regen

* fix

* test fix

* stuffs
2017-10-05 17:36:44 -07:00
Deepak Shankargouda 668aabe2a3 Demoting message importance for missing validator paths (#2590)
* Demoting path not found to verbose

* Regened code

* unused change
2017-10-02 13:56:05 -07:00
Garrett Serack 4666f504b5 Minor tweaks (#2626)
* WIP

* minor tweaks. Inlined static loader into app.ts

* minor tweaks. Inlined static loader into app.ts

* regenerated.
2017-09-29 13:55:46 -07:00
Johannes Bader 9a38371d8f friendly name blaming (#2627)
* package.json

* friendly names in input source map

* regen
2017-09-29 13:01:05 -07:00
Johannes Bader df7d78ab57 bump references (#2609)
* bump references

* regen

* regen

* reset

* whoops

* fix

* iced

* loosen semver check

* regen
2017-09-26 13:05:40 -07:00
Johannes Bader 9a76766378 Minor features (#2571)
* new sample: openapi not swagger

* new check: is swagger 2.0

* additional properties polyfill test

* fixed clear-output-folder

* cleanup
2017-09-06 15:52:31 -07:00
Johannes Bader 41c3ebf69e merge 2.0 into master (#2554)
* Update README.md

* remove -LEGACY (#2387)

* remove legacy entry point and CompSwaggerModeler

* regen

* deps

* Initial bootstrapper changes for 2.0 (#2400)

* moving files to be in better locations

* minor tweaks

* WIP

* wip

* wip

* removed async iterable

* added tslint config

* cleaned up help

* 2.0 (#2402)

* moving files to be in better locations

* minor tweaks

* WIP

* wip

* wip

* removed async iterable

* added tslint config

* cleaned up help

* installer testing

* fixed cmdline more

* 2.0 (#2404)

* moving files to be in better locations

* minor tweaks

* WIP

* wip

* wip

* removed async iterable

* added tslint config

* cleaned up help

* installer testing

* fixed cmdline more

* shouldn't have a bin setting for core

* making local install work

* fixing conflig

* lighter CodeModel (#2398)

* light

* fixed tests

* more cleanup

* regen

* more cleanup

* bump travis node

* fixed build script

* use-extension (#2405)

* use-extension

* dyn extension loading

* inst dir

* identity plugin

* new paths and stuff

* extract classic configurationm

* more ext

* minor improv

* fixed bootstrapper

* temp dependency change since I can't access the perks project

* stricter type checking

* cleanup (#2410)

* cleanup

* no merging, no file system abstraction

* less dependency injection

* regen

* smoothing stuff out (#2420)

* it happened

* doc sync

* shut up Travis

* better github URI conversion (fixes #2411)

* Removing CSharp validator  (#2406)

* stashing`

* stashing

* stash 2

* final touches

* stashing`

* stashing

* stash 2

* final touches

* use-extension

* dyn extension loading

* inst dir

* identity plugin

* new paths and stuff

* extract classic configurationm

* more ext

* minor improv

* fixed bootstrapper

* stashing for tests

* stashing again

* stashing stuff

* stashing for pipeline

* blah

* stashing`

* stashing

* stash 2

* final touches

* temp

* tstash

* all working

* cleanup

* more undoing

* working now

* removing docs

* undoing changes

* proper packages now

* Fixing CI

* upping version number

* final changes to be tested

* regen code

* tests passing

* Fixing preview version num

* another version

* publishing everything

* another version

* AutoRest Extension Documentation (#2441)

* extension docs

* point to implementations

* issue hunt (#2457)

* don't walk up folders by default

* added configuration output-artifact

* docs/samples

* fix

* auto-generated header

* fixed #2459

* simplifications and fix #2432

* fixes and improvements

* adjusted test cases to new directory structure and plugin extraction

* default header without version

* regen samples

* regen all

* updated Swagger extensions documentation with specs repo data

* x-ms-paths doc update (fixes #2440)

* nit

* complain about missing required props (fixes #2210)

* fix

* disable maps

* Fixes to extension installation (#2463)

* added locking into package mgmt

* added locking

* bumped version of extension

* Content-Type handling fix and update (#2465)

* test case

* fix

* test

* Update compiling-autorest.md (#2481)

Fix typo

* Update compiling-autorest.md (#2480)

Fix typo

* fix #2473 (#2483)

* clean up extra references (#2478)

* added locking into package mgmt

* added locking

* bumped version of extension

* cleaned up references

* fix build with long paths

* Update transform-designer-cs.proj

* added nuke option to gulp script

* updated package.json to latest perks

* update go version in travis

* disabled go tests that are not right

* updated readme

* renamed build.ps1

* trying to surf-build

* added build.cmd for surf

* fixing script

* docs: spelling fix + png instead of svg (#2491)

* Update AutoRest-fundamentals.md

* Add files via upload

* Delete pipeline.svg

* Update AutoRest-fundamentals.md

* example generation and other goodness (#2489)

* marshal log messages

* example gen (cs)

* improvements

* sample

* general improvements

* regen after message forwarding

* sample

* thanks ts hero

* iced

* cleanup

* shut C# up

* regen

* fix

* Update regeneration.iced (#2494)

* GitHub auth (#2487)

* auth-token forwarding (already enables using autorest on Swaggers with ext. references)

* more test

* OAuth

* OAuth param

* test

* rethink: FS

* simpl

* fini

* docs

* Fixes to the markdown generator as requested by the doc team. (#2455)

Strip out embedded new-line characters in descriptions.
Place child documents in nested directories and generate appropriate
inline links to them.
Remove the "null" text for empty resource arrays.

* Fix d.ts files for nodejs code gen (#2468)

* generator and tsconfig.json changes

* code generation changes

* apiVersion should not be allowed to set

* code changes for api-version

* regenerated samples

* Revert "regenerated samples"

This reverts commit 7f8973b0f4.

* regenerated

* Add support for autorest.home (#2498)

* added locking into package mgmt

* added locking

* bumped version of extension

* cleaned up references

* fix build with long paths

* Update transform-designer-cs.proj

* added nuke option to gulp script

* updated package.json to latest perks

* update go version in travis

* disabled go tests that are not right

* updated readme

* renamed build.ps1

* trying to surf-build

* added build.cmd for surf

* fixing script

* tweaking build cmd

* tweaking packaing

* do reset on regen

* fix unlink

* fix regeneration correctly

* it's building! it's testing! It's a freakin' miracle!

* make regenerate-samples work right

* regeneration fixes

* PHP (#2508)

* PHP

* Update YamlDotNet to 4.2.1

* PHP: 'file' type support

* AdditionalProperties for objects.

* PHP: Remove api-version from a file name.

* Generated file.

* CI probe (#2513)

CI probe (and disabling Go tests)

* PHP: Optional parameters. (#2510)

* data store simplification (#2495)

* unification of FS scopes

* write refactor

* consistency

* tests

* regen

* cleanup (#2506)

* less chatty

* fixable

* tests

* CodeModel.Name

* EnumType.SerializedName

* Method.SerializedName

* Property.Summary

* tests

* CompositeType.SerializedName

* MethodGroup.stuff

* PrimaryType.SerializedName

* IVariable.SerializedName

* regen

* regen

* fix php after rebase

* THAT global state

* oh dear, tests already relied on that bug

* fix php after rebase

* prevent over escaping

* fix cleaning tmp folder (#2516)

* testing (#2517)

* prob

* reenable

* debugging and reenabled tests

* launch config

* Debugging docs (#2518)

* docs

* test fix

* PHP: Swagger: schema information has to be in 'schema' property if 'in' property is 'body'. (#2514)

* Generate 'schema' property when In is 'body'.

* PHP: additionProperties => true

* PHP: additionalProperties bug fix.

* Report on output-folder issue (#2524)

* don't swallow exceptions happening after process

* regen

* Better commenting for addl params (#2521)

* Update transform-designer-cs.proj

* Update literate-configuration.md (#2512)

* Better commenting for addl params

* Addressed PR comments

* regen

* Unused files

* Code generation for application/x-www-form-urlencoded (#2527)

* Formdata option for form urlencoded

* regen

* unused

* unnecessaRY DIFF

* self-contained modeler (#2528)

* Defaulting collectionFormat for query params (#2530)

* Desugar `use` for pulling in extensions (#2541)

* no singleton

* desugar 'use'

* regen

* Extension and modeler fixes. (#2547)

* Extension and modeler fixes.

Generate parameter group postfix names according to the spec.
Preserve extensions when building header types.

* Correctly handle case when postfix value is null.

* split projects (#2552)

* fixes

* ...

* cleanup

* cleanup

* pin versions

* tests

* travis

* tests

* no classic generators in regen...

* event emitter

* regen

* linux ready and updated classic validator (#2555)

* linux ready

* bump

* ref fixed classic validator

* regen

* travis

* oav dummy

* stability

* regen

* docs

* cleanup gulp

* more docs

* more docs (mention dotnet 2.0 dependency and npm scripts)
2017-08-28 10:57:39 -07:00
Johannes Bader 59c3bf48d7 Batch mode (#2443)
* batch mode

* test case

* updated regen

* version bump
2017-07-14 17:12:54 -07:00
Johannes Bader aa49bc0b01 fence bug fix (#2438)
* reentrant fence checking

* regen

* --clear-output-folder for C#
2017-07-14 06:28:15 -07:00
Johannes Bader bc6131adca top level title/description and default values (#2425)
* top level title/description and default values

* regen

* improv

* linux
2017-07-10 00:13:04 -07:00
Johannes Bader c3968684c0 dead code hunt (#2395)
* regen clean fix

* clean

* dead structurally equals
2017-06-27 10:57:10 -07:00
Johannes Bader 49f63f33ef Content type overrides for streams (#2369)
* enablance

* sample

* some linter test cleanup

* care

* regen

* test fix

* doc

* regen

* order independent generation

* nit

* regen
2017-06-20 10:52:58 -07:00
Johannes Bader 7dcc5d8fae point tests at new ClientRuntime (#2353)
* bump

* fixed up test project

* singled out failing LRO tests

* added reasons

* fun mit JsonRpc counters

* python tets

* regen

* regen after npm install
2017-06-14 14:32:05 -07:00
Johannes Bader a4603ff40f various goodness (#2263)
* stack trace crunching

* add azure-openapi-validator

* nail version

* artificial order

* make all external tools consume abs. URI

* make everything consume absolute URIs

* cleanup

* ai

* fixed that exit code

* slightly improved samples

* silence

* cleanup

* more cleanup

* reboust silence

* rem dependency
2017-05-15 16:37:31 -07:00
Johannes Bader 02f5d8a02b Literate Documentation Update (#2250)
* refix #1900

* wip

* updated syntax

* minor pipeline optimizations

* expected changes

* simpl

* md override extractor

* inject

* cleanup

* fixed up that jsonpath library

* defer complaint (needs to await all documents...)

* expected changes

* more jsonpath

* tests

* un-race

* cleanup

* spell fix

* expected regen

* simplified jsonpath

* commit id

* blame leafs

* expected diff

* simpl

* changes

* fixed path

* test adjustments

* cleanup

* after-merge fix

* regen

* st
2017-05-10 12:03:59 -07:00
Garrett Serack 46f67be213 Batch mode (and a handful of other joy) (#2258)
* WIP

* Regenerated
2017-05-08 18:45:40 -07:00
Johannes Bader 6348004f94 Updates, fixes, features (cont.) (#2203)
* cleanup

* last for today

* regen sanit.

* wip

* cleanup

* de-race AR.NET (the SD singleton...)

* fix compare script

* shift x-ms-cgs responsibilities

* cleanup

* artifact emitter as pull in point

* OMG why

* err update

* full stack trace anonymization

* fix mocha build break

* more mocha fixd

* removed deprecated tests (putting defaults in service definitions doesn't play well with validation)

* for Laurent
2017-04-27 10:20:30 -07:00
Johannes Bader f049afd2a0 Updates, fixes, features (#2189)
* minor simplification

* simplifications

* Jared's feedback and number fix

* parallelization

* regenb

* sorta improved jsonref/path stuff in json messages

* wip

* autorest init

* sample

* default-configuration.md

* regen

* cleanup

* folderize autorest argument if not .md

* fixed test

* probe

* started pipeline abstraction

* MORE ABSTRACTION

* more pipeline

* more pipeline

* new output-artifact convention

* namespace sanitize

* simplified awaiter

* more plugins

* more abstractness

* towards sanity
2017-04-26 08:51:04 -07:00
Johannes Bader e4967345ee Testmania (#2154)
Testmania
2017-04-14 22:43:14 -07:00