Skip to content
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

Allow to display custom Attributes in the Properties description #151

Closed
Claymore1337 opened this issue Jul 25, 2019 · 1 comment
Closed
Labels

Comments

@Claymore1337
Copy link
Contributor

In my project i have some attributes in the properties section which are not part of the JSONSchema. My requirment is to display also this properties.

So i would suggest to extend the the tool with an addtional parameter which except a list of
comma-separated values. This values will be used to read custom attributes of that propeties.

The result of one property would looked like this if you call the tool with this list "version,task".

ehepartnerId

Define which static id should be used

ehepartnerId

  • is required
  • type: string
  • default: ""
  • defined in this schema
  • version: 1.28.0
  • task: P-100

ehepartnerId Type

string

All instances must conform to this regular expression

^(.*)$

ehepartnerId Example

"ehepartner"
Claymore1337 pushed a commit to Claymore1337/jsonschema2md that referenced this issue Jul 25, 2019
A new console arg was added. This arg except a comma separated list. This list will be used to read
the custom attributes of an property

re adobe#151
Claymore1337 pushed a commit to Claymore1337/jsonschema2md that referenced this issue Jul 26, 2019
Add description into README.md file and add the new property into the tests

re adobe#151
Claymore1337 pushed a commit to Claymore1337/jsonschema2md that referenced this issue Jul 26, 2019
Claymore1337 pushed a commit to Claymore1337/jsonschema2md that referenced this issue Jul 29, 2019
Testfix after merging master

re adobe#151
Claymore1337 pushed a commit to Claymore1337/jsonschema2md that referenced this issue Aug 15, 2019
Merge branch 'parent-master' into costumProperties

re adobe#151
Claymore1337 pushed a commit to Claymore1337/jsonschema2md that referenced this issue Aug 26, 2019
Merge branch 'master' into costumProperties

re adobe#151
trieloff pushed a commit that referenced this issue Aug 26, 2019
# [3.3.0](v3.2.0...v3.3.0) (2019-08-26)

### Features

* allow display of custom attributes in the property description ([0634309](0634309)), closes [#151](#151)
@trieloff
Copy link
Collaborator

🎉 This issue has been resolved in version 3.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants