Commit Graph

3216 Commits

Author SHA1 Message Date
HelderSepu
ec2179f019 Fix issue with the error messages
Many of the errors where incorrectly showing "Required field is not
provided" when the field was provided but not valid.
This was raised by @ron on PR #3825
2017-10-28 16:21:40 -04:00
kyle
4eae9b681b Merge pull request #3835 from swagger-api/v/3.4.1
v3.4.1
2017-10-28 00:43:16 -07:00
Kyle Shockey
bdc0435683 v3.4.1 2017-10-28 00:37:55 -07:00
kyle
3c371915af Merge pull request #3834 from swagger-api/bug/3818-definitions-to-authorize-cache-invalidation
memoize definitionsToAuthorize based on securityDefinitons value
2017-10-28 00:03:14 -07:00
kyle
ba6e8d14a3 Merge branch 'master' into bug/3818-definitions-to-authorize-cache-invalidation 2017-10-27 23:55:25 -07:00
kyle
b90a4d3c71 Merge pull request #3833 from swagger-api/bug/3811-oas3-enum-execute
Pass correct schema values to parameter state builder for OAS3
2017-10-27 23:55:17 -07:00
Kyle Shockey
2157988212 Don't reach into schema for value 2017-10-27 23:31:47 -07:00
Kyle Shockey
109f7ed430 memoize definitionsToAuthorize based on securityDefinitons value 2017-10-27 22:41:27 -07:00
Kyle Shockey
79ddae1526 Pass correct schema values to parameter state builder for OAS3 2017-10-27 22:23:11 -07:00
kyle
ac36d46467 Merge pull request #3829 from swagger-api/pull-request-template
Create pull request template
2017-10-27 13:01:14 -07:00
kyle
b3a8e4d380 Merge branch 'master' into pull-request-template 2017-10-27 12:44:23 -07:00
kyle
c33a37d8db Merge pull request #3831 from swagger-api/bug/3816-oas3-authorize-always-showing
Return null instead of empty ImmutableMap in OAS3 securityDefinitions selector
2017-10-26 15:55:32 -07:00
kyle
2caca555b1 Merge branch 'master' into bug/3816-oas3-authorize-always-showing 2017-10-26 15:49:05 -07:00
Kyle Shockey
7159649501 Return null instead of empty ImmutableMap in OAS3 securityDefinitions selector 2017-10-26 15:32:14 -07:00
kyle
3e7a0764bb Merge pull request #3830 from swagger-api/bug/resolver-interception
Provide interceptors to SwaggerClient.resolve
2017-10-26 15:06:32 -07:00
kyle
35f1e94c04 Merge branch 'master' into bug/resolver-interception 2017-10-26 14:58:56 -07:00
Kyle Shockey
26428cd63b Provide interceptors to SwaggerClient.resolve 2017-10-26 14:51:00 -07:00
kyle
896e160e2b Improve spacing and section header sizes 2017-10-26 12:08:52 -07:00
kyle
565318739c Add no code changes and dependency changes 2017-10-26 12:02:06 -07:00
kyle
f5217f9c99 Merge pull request #3828 from swagger-api/shockey-patch-1
Improve UX
2017-10-26 11:59:09 -07:00
kyle
cb9804b5ca Create pull_request_template.md 2017-10-26 11:58:54 -07:00
kyle
8f0b498374 Update add-plugin.md 2017-10-26 10:59:06 -07:00
kyle
71c33d0af8 Update topbar.jsx 2017-10-26 10:57:36 -07:00
Ron
c2bdb3af24 Merge pull request #3810 from iiska/relative-json-path
Fix accessing bundled swagger json behind reverse proxy
2017-10-24 09:58:25 -07:00
Juhamatti Niemelä
6dd5d80770 Fix accessing bundled swagger json behind reverse proxy
If swagger-ui is run behind reverse proxy in path other than / accessing
bundled swagger json configured in SWAGGER_JSON env variable will fail.

Fix that by changing REL_PATH prefix from `/` to `./`
2017-10-24 16:42:51 +03:00
kyle
96b0b04538 Merge pull request #3799 from swagger-api/bug/mocha-exclusive-tests
Add ESLint rule that catches `describe.only`, `it.only`
2017-10-21 12:25:36 -07:00
Kyle Shockey
075c94f68c Remove describe.only 2017-10-21 11:13:01 -07:00
Kyle Shockey
fc11f7a556 Add ESLint rule that catches describe.only, it.only 2017-10-21 11:11:13 -07:00
kyle
c4a74d4db7 Merge pull request #3797 from swagger-api/v/3.4.0
v3.4.0
2017-10-20 20:37:07 -07:00
Kyle Shockey
d6b9ace648 v3.4.0 2017-10-20 20:30:13 -07:00
kyle
c46e18deeb Merge pull request #3780 from swagger-api/ft/oas3-authorization
OAS 3.0 Authorization
2017-10-20 19:45:24 -07:00
Kyle Shockey
7c917325f0 Linter fixes 2017-10-20 19:31:52 -07:00
kyle
6d22e38a04 Merge branch 'master' into ft/oas3-authorization 2017-10-20 19:07:38 -07:00
kyle
353fd00b08 Merge pull request #3746 from racedale/master
Support for mobile view on Swagger UI
2017-10-20 18:12:51 -07:00
kyle
bc676601a8 Merge branch 'master' into master 2017-10-20 16:59:19 -07:00
kyle
3387d4762f Merge pull request #3796 from swagger-api/bug/editor-1530-array-parameter-input
Pass `parameter.schema` as schema in OAS 3.0
2017-10-20 16:58:04 -07:00
Ron
d953b7790d Merge branch 'master' into master 2017-10-20 16:54:03 -07:00
Kyle Shockey
631e69f6f8 Pass parameter.schema as schema in OAS 3.0
Parameters were restructured in OAS 3.0; schemas are no longer at
the top level of parameters. Adjusting to account for the change.
2017-10-20 16:01:26 -07:00
kyle
9a442b16e3 Merge pull request #3793 from swagger-api/ft/sourcemaps
Sourcemaps
2017-10-20 14:21:11 -07:00
kyle
4ac3212341 Merge branch 'master' into ft/sourcemaps 2017-10-19 23:06:04 -07:00
Kyle Shockey
e51d6c2ed5 Stop babelifying dev server twice; use eval-source-map 2017-10-19 22:48:34 -07:00
Kyle Shockey
dccc9cfc36 Switch to nosource-source-map for dist builds 2017-10-19 22:47:44 -07:00
Owen Conti
53a4af6885 Merge pull request #3790 from owenconti/bug/3783-response-description-styles
Fixes #3783
2017-10-19 16:27:54 -06:00
Owen Conti
95002ba6e5 Fixes #3783
Remove extra styles for .renderedMarkdown content.
2017-10-19 14:44:17 -06:00
Kyle Shockey
c9674a1fc5 Refactor Auths component flow; create component that supports HTTP auths 2017-10-18 21:23:28 -07:00
kyle
e184762b0f Merge pull request #3768 from mhw/fix-markdown-links
Fix regression with rendering links in Markdown.
2017-10-16 14:15:23 -07:00
Mark H. Wilkinson
e1a7af4c92 Fix regression with rendering links in Markdown. 2017-10-16 14:40:07 +01:00
kyle
b873ee78d4 Merge pull request #3760 from swagger-api/v/3.3.2
v3.3.2
2017-10-13 21:52:23 -07:00
Kyle Shockey
2c86cd5820 v3.3.2 2017-10-13 21:46:10 -07:00
kyle
7de652de0b Merge pull request #3755 from swagger-api/bug/auth-display-regression
Fix auth icon display regression
2017-10-13 21:35:27 -07:00