Better handling of operationId with slashes (#2469)

* better handling of operation id with slashes

* update smaples
This commit is contained in:
William Cheng
2019-03-22 10:41:53 +08:00
committed by GitHub
parent b1955f3517
commit 2e777c04d4
11 changed files with 31 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "open_api_petstore",
"version": "1.0.0",
"description": "This_spec_is_mainly_for_testing_Petstore_server_and_contains_fake_endpoints_models__Please_do_not_use_this_for_any_other_purpose__Special_characters__",
"description": "This_spec_is_mainly_for_testing_Petstore_server_and_contains_fake_endpoints_models__Please_do_not_use_this_for_any_other_purpose__Special_characters___",
"license": "Apache-2.0",
"main": "dist/index.js",
"scripts": {

View File

@@ -66,7 +66,7 @@ import UserApi from './api/UserApi';
/**
* This_spec_is_mainly_for_testing_Petstore_server_and_contains_fake_endpoints_models__Please_do_not_use_this_for_any_other_purpose__Special_characters__.<br>
* This_spec_is_mainly_for_testing_Petstore_server_and_contains_fake_endpoints_models__Please_do_not_use_this_for_any_other_purpose__Special_characters___.<br>
* The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
* <p>
* An AMD (recommended!) or CommonJS application will generally do something equivalent to the following: