-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[TypeScript] Rewritten TypeScript client generator supporting fetch & jquery #6341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
06d9556
Added http module draft
TiFu 05f64c6
Added generic enum
TiFu 6638cef
Modified http lib, added config & middleware definition to ts-fetch
TiFu 1a31c48
Added model generation with imports
TiFu 1cc6fb0
Added auth module
TiFu 276d7d4
Added servers
TiFu b89646a
Added sample for typescript client
TiFu 6b2a228
WIP: Models & API
TiFu d4fa8c7
Updated auth
TiFu f5b0629
WIP: api modeling
TiFu a8ec866
Implemented RequestFactory and Processor completely
TiFu e40d949
Implemented fetch client
TiFu a7de491
Ignore dist folder in typescript client sample
TiFu 61a1bbd
Added middleware to fetch
TiFu a6560e5
Restructured TypeScript generator
TiFu 7909cba
Reverted: http library.send returns string again
TiFu 3eaa5e5
Removed TODOs
TiFu 4c11314
Added pom.xml files to TypeScript PetStore client samples
TiFu 988df1f
Removed tabs from TypeScriptClientCodegen
TiFu 0867522
Added ts client codegen to root pom.xml and travis
TiFu 525f48d
Added server variable configuration to ts-refactor
TiFu c2b7422
[TS-Refactor] Added tests for Object Serializer
TiFu e41df36
Added simple test for PetApi
TiFu 9b0bb9a
Fixed ObjectSerializer test
TiFu 35b98cf
Added handling for different http status codes and test for deletePet
TiFu 8bfb88c
Removed tabs in TypeScriptClientCodegen
TiFu c5c9a59
Removed tabs in DefaultCodegen
TiFu 1c2943d
Additional tests for pet store api
TiFu 7786f2e
Fixed file uploads
TiFu a00e342
Made api call configuration separately settable
TiFu e11a5a9
Use string union for enums
TiFu 8068315
Remove tab
TiFu aeef285
Restructured module layout
TiFu 1d27563
Use observables internally
TiFu df970ae
Added promise based middleware
TiFu 861f774
Made discriminator and attributeTypeMap readonly
TiFu c8c58b4
Configure discriminator correctly
TiFu 56ca583
Set discriminator value automatically
TiFu 7a372ac
Fixed date-time and date handling
TiFu 35d3cc2
Added comments & license info
TiFu a481d0c
Added comments
TiFu c330a9f
Ignore openapi-generator-cli/bin
TiFu 40f3c4f
Removed accidentally created generated code
TiFu fcbecc4
Fixed compilation issues in TypeScriptClientCodegen
TiFu 99c3dce
Added typescript to docs/generators
TiFu 495ce93
Updated docs
TiFu 8d8e57f
Added gitignore and git_push
TiFu fb6f8c5
Added jquery library
TiFu 6c37c71
Added pom.xmls, fixed packagejsons and hopefully webppack
TiFu 9297e59
Removed tabs in TypeScriptClientCodegen
TiFu e4a0855
Fixed a couple issues with pom.xml
TiFu 5fd3be2
Ensured up to date
TiFu 68241f8
Fixed missing fetch definition in TS default tests
TiFu 4f461f9
Updated typescript docs
TiFu 0f3ad99
Refactor typescript merge master (#4319)
bodograumann 0000342
Typescript refactor: stub rxjs (#4424)
bodograumann 9afb8ff
Typescript refactor: Platform select for browser and node (#4500)
bodograumann bfc14c8
Removed tab from DefaultCodegen
TiFu d704a4f
Readded missing change
TiFu 5a2561f
Mark typescript client codegen as experimental
TiFu 07dd1ef
Removed whitespace
TiFu 934f226
[TS-Refactor] Top-level exports for fetch & jquery (#6138)
TiFu 391a191
Allow browsers File type for files (#5521)
bodograumann 303ec6c
[TS-Refactor] Added options for npm version, repository, name and upd…
TiFu 659369c
Typescript refactor fixes (#6027)
bodograumann e315d48
Support media types other than json (#6177)
bodograumann 56f9737
Merge master
TiFu 41d1864
Updated versions in ts-default/jquery and ts docs
TiFu dee6ed4
Replaced isSuccessCode with is2xx
TiFu 33c8d19
[TypeScript-Refactor] Use OAIv3 spec and fix bugs in JQuery Blob down…
TiFu ae8c1be
[Typescript] Support http bearer authentication with token provider (…
bodograumann d8de81b
Add TS-Rewrite-Jquery tests node_modules to travis caching
TiFu 9705ec9
Remove NoAuthentication
TiFu 21861bd
Added file to generate TS samples on Windows
TiFu 86daa2b
Exclude btoa in browser
TiFu f8a4231
Regen samples
TiFu 3aa2f22
Remove outdated ToDo comments
TiFu af8f6ff
Document and optimize `getReturnType` in TSClientCodegen
TiFu d9e0519
Added option to generate objects for operation function arguments
TiFu fbed6ca
Upgrade typescript docs
TiFu fc29d2c
Merge branch 'master' into ts-refactor-review
TiFu 4258a17
Updated generators
TiFu 8fc7eeb
Updated samples
TiFu 0906e3c
Updated docs
TiFu bf2b05d
Readded pom.xml
TiFu 71c3cad
Merge branch 'master' into typescript-refactor-master
TiFu 14642f1
Merge remote-tracking branch 'origin/master' into typescript-refactor…
macjohnny 4608264
[Typescript] Support InversifyJS (#6489)
bodograumann 8ab532e
Merge master
TiFu efb9722
Restore changes to CONTRIBUTING.md from PR #6489
TiFu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| #!/bin/sh | ||
|
|
||
| SCRIPT="$0" | ||
| echo "# START SCRIPT: $SCRIPT" | ||
|
|
||
| while [ -h "$SCRIPT" ] ; do | ||
| ls=`ls -ld "$SCRIPT"` | ||
| link=`expr "$ls" : '.*-> \(.*\)$'` | ||
| if expr "$link" : '/.*' > /dev/null; then | ||
| SCRIPT="$link" | ||
| else | ||
| SCRIPT=`dirname "$SCRIPT"`/"$link" | ||
| fi | ||
| done | ||
|
|
||
| if [ ! -d "${APP_DIR}" ]; then | ||
| APP_DIR=`dirname "$SCRIPT"`/.. | ||
| APP_DIR=`cd "${APP_DIR}"; pwd` | ||
| fi | ||
|
|
||
| executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar" | ||
| common_args="generate -i modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g typescript" | ||
| samples="samples/openapi3/client/petstore/typescript/builds" | ||
|
|
||
| if [ ! -f "$executable" ] | ||
| then | ||
| mvn -B clean package | ||
| fi | ||
|
|
||
| # if you've executed sbt assembly previously it will use that instead. | ||
| export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties" | ||
|
|
||
| printf "\033[32m## Creating default (fetch) client!\033[0m\n" | ||
| args="-o $samples/default --additional-properties=platform=node,npmName=ts-petstore-client $@" | ||
| java $JAVA_OPTS -jar $executable $common_args $args | ||
|
|
||
| printf "\033[32m## Creating jquery client!\033[0m\n" | ||
| args="-o $samples/jquery --additional-properties=framework=jquery,npmName=ts-petstore-client $@" | ||
| java $JAVA_OPTS -jar $executable $common_args $args | ||
|
|
||
| printf "\033[32m## Creating fetch object client!\033[0m\n" | ||
| args="-o $samples/object_params --additional-properties=platform=node,npmName=ts-petstore-client,useObjectParameters=true $@" | ||
| java $JAVA_OPTS -jar $executable $common_args $args | ||
|
|
||
| printf "\033[32m## Creating fetch client with InversifyJS support!\033[0m\n" | ||
| args="-o $samples/inversify --additional-properties=platform=node,npmName=ts-petstore-client,useInversify=true $@" | ||
| java $JAVA_OPTS -jar $executable $common_args $args | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar | ||
|
|
||
| If Not Exist %executable% ( | ||
| mvn clean package | ||
| ) | ||
|
|
||
| REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M | ||
|
|
||
| set args=generate -i modules\openapi-generator\src\test\resources\3_0\petstore.yaml -g typescript -o samples\openapi3\client\petstore\typescript\builds\default --additional-properties=platform=node,npmName=ts-petstore-client | ||
| java %JAVA_OPTS% -jar %executable% %args% | ||
|
|
||
| args=generate -i modules\openapi-generator\src\test\resources\3_0\petstore.yaml -g typescript -o samples\openapi3\client\petstore\typescript\builds\jquery --additional-properties=framework=jquery,npmName=ts-petstore-client | ||
| java %JAVA_OPTS% -jar %executable% %args% | ||
|
|
||
| set args=generate -i modules\openapi-generator\src\test\resources\3_0\petstore.yaml -g typescript -o samples\openapi3\client\petstore\typescript\builds\object_params --additional-properties=platform=node,npmName=ts-petstore-client,useObjectParameters | ||
| java %JAVA_OPTS% -jar %executable% %args% | ||
|
|
||
| set args=generate -i modules\openapi-generator\src\test\resources\3_0\petstore.yaml -g typescript -o samples\openapi3\client\petstore\typescript\builds\inversify --additional-properties=platform=node,npmName=ts-petstore-client,useInversify | ||
| java %JAVA_OPTS% -jar %executable% %args% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,242 @@ | ||
| --- | ||
| title: Config Options for typescript | ||
| sidebar_label: typescript | ||
| --- | ||
|
|
||
| | Option | Description | Values | Default | | ||
| | ------ | ----------- | ------ | ------- | | ||
| |allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false| | ||
| |disallowAdditionalPropertiesIfNotPresent|Specify the behavior when the 'additionalProperties' keyword is not present in the OAS document | ||
| If false: the 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications. If true: when the 'additionalProperties' keyword is not present in a schema, the value of 'additionalProperties' is set to false, i.e. no additional properties are allowed. Note: this mode is not compliant with the JSON schema specification. This is the original openapi-generator behavior.This setting is currently ignored for OAS 2.0 documents: 1) When the 'additionalProperties' keyword is not present in a 2.0 schema, additional properties are NOT allowed. 2) Boolean values of the 'additionalProperties' keyword are ignored. It's as if additional properties are NOT allowed.Note: the root cause are issues #1369 and #1371, which must be resolved in the swagger-parser project.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>when the 'additionalProperties' keyword is not present in a schema, the value of 'additionalProperties' is automatically set to false, i.e. no additional properties are allowed. Note: this mode is not compliant with the JSON schema specification. This is the original openapi-generator behavior.</dd></dl>|true| | ||
| |ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true| | ||
| |fileContentDataType|Specifies the type to use for the content of a file - i.e. Blob (Browser) / Buffer (node)| |Buffer| | ||
| |framework|Specify the framework which should be used in the client code.|<dl><dt>**fetch-api**</dt><dd>fetch-api</dd><dt>**jquery**</dt><dd>jquery</dd></dl>|fetch-api| | ||
| |legacyDiscriminatorBehavior|This flag is used by OpenAPITools codegen to influence the processing of the discriminator attribute in OpenAPI documents. This flag has no impact if the OAS document does not use the discriminator attribute. The default value of this flag is set in each language-specific code generator (e.g. Python, Java, go...)using the method toModelName. Note to developers supporting a language generator in OpenAPITools; to fully support the discriminator attribute as defined in the OAS specification 3.x, language generators should set this flag to true by default; however this requires updating the mustache templates to generate a language-specific discriminator lookup function that iterates over {{#mappedModels}} and does not iterate over {{children}}, {{#anyOf}}, or {{#oneOf}}.|<dl><dt>**true**</dt><dd>The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document.</dd><dt>**false**</dt><dd>The mapping in the discriminator includes any descendent schemas that allOf inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values, and the discriminator mapping schemas in the OAS document AND Codegen validates that oneOf and anyOf schemas contain the required discriminator and throws an error if the discriminator is missing.</dd></dl>|true| | ||
| |modelPropertyNaming|Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name| |camelCase| | ||
| |npmName|The name under which you want to publish generated npm package. Required to generate a full package| |null| | ||
| |npmRepository|Use this property to set an url your private npmRepo in the package.json| |null| | ||
| |npmVersion|The version of your npm package. If not provided, using the version from the OpenAPI specification file.| |1.0.0| | ||
| |platform|Specifies the platform the code should run on. The default is 'node' for the 'request' framework and 'browser' otherwise.|<dl><dt>**browser**</dt><dd>browser</dd><dt>**node**</dt><dd>node</dd></dl>|browser| | ||
| |prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false| | ||
| |snapshot|When setting this property to true, the version will be suffixed with -SNAPSHOT.yyyyMMddHHmm| |false| | ||
| |sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true| | ||
| |sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true| | ||
| |supportsES6|Generate code that conforms to ES6.| |false| | ||
| |useInversify|Enable this to generate decorators and service identifiers for the InversifyJS inversion of control container.| |false| | ||
| |useObjectParameters|Use aggregate parameter objects as function arguments for api operations instead of passing each parameter as a separate function argument.| |false| | ||
| |useRxJS|Enable this to internally use rxjs observables. If disabled, a stub is used instead. This is required for the 'angular' framework.| |false| | ||
|
|
||
| ## IMPORT MAPPING | ||
|
|
||
| | Type/Alias | Imports | | ||
| | ---------- | ------- | | ||
|
|
||
|
|
||
| ## INSTANTIATION TYPES | ||
|
|
||
| | Type/Alias | Instantiated By | | ||
| | ---------- | --------------- | | ||
| |array|Array| | ||
|
|
||
|
|
||
| ## LANGUAGE PRIMITIVES | ||
|
|
||
| <ul class="column-ul"> | ||
| <li>Array</li> | ||
| <li>Boolean</li> | ||
| <li>Date</li> | ||
| <li>Double</li> | ||
| <li>Error</li> | ||
| <li>File</li> | ||
| <li>Float</li> | ||
| <li>Integer</li> | ||
| <li>Long</li> | ||
| <li>Map</li> | ||
| <li>Object</li> | ||
| <li>String</li> | ||
| <li>any</li> | ||
| <li>boolean</li> | ||
| <li>number</li> | ||
| <li>string</li> | ||
| </ul> | ||
|
|
||
| ## RESERVED WORDS | ||
|
|
||
| <ul class="column-ul"> | ||
| <li>abstract</li> | ||
| <li>await</li> | ||
| <li>boolean</li> | ||
| <li>break</li> | ||
| <li>byte</li> | ||
| <li>case</li> | ||
| <li>catch</li> | ||
| <li>char</li> | ||
| <li>class</li> | ||
| <li>const</li> | ||
| <li>continue</li> | ||
| <li>debugger</li> | ||
| <li>default</li> | ||
| <li>delete</li> | ||
| <li>do</li> | ||
| <li>double</li> | ||
| <li>else</li> | ||
| <li>enum</li> | ||
| <li>export</li> | ||
| <li>extends</li> | ||
| <li>false</li> | ||
| <li>final</li> | ||
| <li>finally</li> | ||
| <li>float</li> | ||
| <li>for</li> | ||
| <li>formParams</li> | ||
| <li>function</li> | ||
| <li>goto</li> | ||
| <li>headerParams</li> | ||
| <li>if</li> | ||
| <li>implements</li> | ||
| <li>import</li> | ||
| <li>in</li> | ||
| <li>instanceof</li> | ||
| <li>int</li> | ||
| <li>interface</li> | ||
| <li>let</li> | ||
| <li>long</li> | ||
| <li>native</li> | ||
| <li>new</li> | ||
| <li>null</li> | ||
| <li>package</li> | ||
| <li>private</li> | ||
| <li>protected</li> | ||
| <li>public</li> | ||
| <li>queryParameters</li> | ||
| <li>requestOptions</li> | ||
| <li>return</li> | ||
| <li>short</li> | ||
| <li>static</li> | ||
| <li>super</li> | ||
| <li>switch</li> | ||
| <li>synchronized</li> | ||
| <li>this</li> | ||
| <li>throw</li> | ||
| <li>transient</li> | ||
| <li>true</li> | ||
| <li>try</li> | ||
| <li>typeof</li> | ||
| <li>useFormData</li> | ||
| <li>var</li> | ||
| <li>varLocalDeferred</li> | ||
| <li>varLocalPath</li> | ||
| <li>void</li> | ||
| <li>volatile</li> | ||
| <li>while</li> | ||
| <li>with</li> | ||
| <li>yield</li> | ||
| </ul> | ||
|
|
||
| ## FEATURE SET | ||
|
|
||
|
|
||
| ### Client Modification Feature | ||
| | Name | Supported | Defined By | | ||
| | ---- | --------- | ---------- | | ||
| |BasePath|✗|ToolingExtension | ||
| |Authorizations|✗|ToolingExtension | ||
| |UserAgent|✗|ToolingExtension | ||
|
|
||
| ### Data Type Feature | ||
| | Name | Supported | Defined By | | ||
| | ---- | --------- | ---------- | | ||
| |Custom|✗|OAS2,OAS3 | ||
| |Int32|✓|OAS2,OAS3 | ||
| |Int64|✓|OAS2,OAS3 | ||
| |Float|✓|OAS2,OAS3 | ||
| |Double|✓|OAS2,OAS3 | ||
| |Decimal|✓|ToolingExtension | ||
| |String|✓|OAS2,OAS3 | ||
| |Byte|✓|OAS2,OAS3 | ||
| |Binary|✓|OAS2,OAS3 | ||
| |Boolean|✓|OAS2,OAS3 | ||
| |Date|✓|OAS2,OAS3 | ||
| |DateTime|✓|OAS2,OAS3 | ||
| |Password|✓|OAS2,OAS3 | ||
| |File|✓|OAS2 | ||
| |Array|✓|OAS2,OAS3 | ||
| |Maps|✓|ToolingExtension | ||
| |CollectionFormat|✓|OAS2 | ||
| |CollectionFormatMulti|✓|OAS2 | ||
| |Enum|✓|OAS2,OAS3 | ||
| |ArrayOfEnum|✓|ToolingExtension | ||
| |ArrayOfModel|✓|ToolingExtension | ||
| |ArrayOfCollectionOfPrimitives|✓|ToolingExtension | ||
| |ArrayOfCollectionOfModel|✓|ToolingExtension | ||
| |ArrayOfCollectionOfEnum|✓|ToolingExtension | ||
| |MapOfEnum|✓|ToolingExtension | ||
| |MapOfModel|✓|ToolingExtension | ||
| |MapOfCollectionOfPrimitives|✓|ToolingExtension | ||
| |MapOfCollectionOfModel|✓|ToolingExtension | ||
| |MapOfCollectionOfEnum|✓|ToolingExtension | ||
|
|
||
| ### Documentation Feature | ||
| | Name | Supported | Defined By | | ||
| | ---- | --------- | ---------- | | ||
| |Readme|✗|ToolingExtension | ||
| |Model|✓|ToolingExtension | ||
| |Api|✓|ToolingExtension | ||
|
|
||
| ### Global Feature | ||
| | Name | Supported | Defined By | | ||
| | ---- | --------- | ---------- | | ||
| |Host|✓|OAS2,OAS3 | ||
| |BasePath|✓|OAS2,OAS3 | ||
| |Info|✓|OAS2,OAS3 | ||
| |Schemes|✗|OAS2,OAS3 | ||
| |PartialSchemes|✓|OAS2,OAS3 | ||
| |Consumes|✓|OAS2 | ||
| |Produces|✓|OAS2 | ||
| |ExternalDocumentation|✓|OAS2,OAS3 | ||
| |Examples|✓|OAS2,OAS3 | ||
| |XMLStructureDefinitions|✗|OAS2,OAS3 | ||
| |MultiServer|✗|OAS3 | ||
| |ParameterizedServer|✗|OAS3 | ||
| |ParameterStyling|✗|OAS3 | ||
| |Callbacks|✓|OAS3 | ||
| |LinkObjects|✗|OAS3 | ||
|
|
||
| ### Parameter Feature | ||
| | Name | Supported | Defined By | | ||
| | ---- | --------- | ---------- | | ||
| |Path|✓|OAS2,OAS3 | ||
| |Query|✓|OAS2,OAS3 | ||
| |Header|✓|OAS2,OAS3 | ||
| |Body|✓|OAS2 | ||
| |FormUnencoded|✓|OAS2 | ||
| |FormMultipart|✓|OAS2 | ||
| |Cookie|✓|OAS3 | ||
|
|
||
| ### Schema Support Feature | ||
| | Name | Supported | Defined By | | ||
| | ---- | --------- | ---------- | | ||
| |Simple|✓|OAS2,OAS3 | ||
| |Composite|✓|OAS2,OAS3 | ||
| |Polymorphism|✓|OAS2,OAS3 | ||
| |Union|✗|OAS3 | ||
|
|
||
| ### Security Feature | ||
| | Name | Supported | Defined By | | ||
| | ---- | --------- | ---------- | | ||
| |BasicAuth|✓|OAS2,OAS3 | ||
| |ApiKey|✓|OAS2,OAS3 | ||
| |OpenIDConnect|✗|OAS3 | ||
| |BearerToken|✓|OAS3 | ||
| |OAuth2_Implicit|✓|OAS2,OAS3 | ||
| |OAuth2_Password|✓|OAS2,OAS3 | ||
| |OAuth2_ClientCredentials|✓|OAS2,OAS3 | ||
| |OAuth2_AuthorizationCode|✓|OAS2,OAS3 | ||
|
|
||
| ### Wire Format Feature | ||
| | Name | Supported | Defined By | | ||
| | ---- | --------- | ---------- | | ||
| |JSON|✓|OAS2,OAS3 | ||
| |XML|✓|OAS2,OAS3 | ||
| |PROTOBUF|✗|ToolingExtension | ||
| |Custom|✗|OAS2,OAS3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.