Skip to content

Commit 61f4f07

Browse files
author
Phil Sturgeon
committed
attribution and consistency
1 parent ca13b7a commit 61f4f07

File tree

6 files changed

+65
-33
lines changed

6 files changed

+65
-33
lines changed

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
6+
[*.{ts,js,yaml,scenario,md}]
7+
indent_style = space
8+
indent_size = 2
9+
10+
[*.{ts,js}]
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true

.eslintrc.js

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
commonjs: true,
5+
es6: true,
6+
node: true
7+
},
8+
extends: [
9+
'eslint:recommended'
10+
],
11+
globals: {
12+
Atomics: 'readonly',
13+
SharedArrayBuffer: 'readonly'
14+
},
15+
parserOptions: {
16+
ecmaVersion: 2018
17+
},
18+
rules: {
19+
indent: [
20+
'error',
21+
'tab',
22+
{
23+
SwitchCase: 1
24+
}
25+
],
26+
'linebreak-style': [
27+
'error',
28+
'unix'
29+
],
30+
quotes: [
31+
'error',
32+
'single'
33+
],
34+
semi: [
35+
'error',
36+
'always'
37+
]
38+
}
39+
}

.eslintrc.json

-26
This file was deleted.

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [1.0.0] - 2019-01-20
8+
9+
### Changed
10+
- Moved over to the `@openapi-contrib` NPM organization.
11+
712
## [0.4.0] - 2019-10-04
813
### Added
914
- Take the first JSON Schema `example` and put in OpenAPI Schema Object `example`

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,15 @@ To run the test-suite:
9191
npm test
9292
```
9393

94-
## Credits
94+
## Thanks
9595

96-
- [mikunn] for creating [openapi-schema-to-json-schema] which this is based on
97-
- [Phil Sturgeon] for flipping that conversion script about face
96+
- [mikunn][] for creating [openapi-schema-to-json-schema] which this is based on.
97+
- [Phil Sturgeon][] for flipping that conversion script about face.
98+
- [WeWork][] for giving this a home for a while.
9899
- [All Contributors][link-contributors]
99100

100101
[mikunn]: https://github.com/mikunn
102+
[WeWork]: https://github.com/wework
101103
[Phil Sturgeon]: https://github.com/philsturgeon
102104
[openapi-schema-to-json-schema]: https://github.com/mikunn/openapi-schema-to-json-schema
103105
[link-contributors]: https://github.com/openapi-js/json-schema-to-openapi-schema/graphs/contributors

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "json-schema-to-openapi-schema",
3-
"version": "0.4.0",
2+
"name": "@openapi-contrib/json-schema-to-openapi-schema",
3+
"version": "1.0.0",
44
"description": "Converts a JSON Schema to OpenAPI Schema Object",
55
"main": "index.js",
66
"scripts": {
77
"test": "nyc --reporter=html --reporter=text mocha",
88
"coverage": "nyc report --reporter=text-lcov | coveralls"
99
},
10-
"repository": "github:openapi-js/json-schema-to-openapi-schema",
11-
"author": "Phil Sturgeon <[email protected]>",
10+
"repository": "github:openapi-contrib/json-schema-to-openapi-schema",
11+
"author": "OpenAPI Contrib",
1212
"license": "MIT",
1313
"engines": {
1414
"node": ">=8"

0 commit comments

Comments
 (0)