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

_value ir _objectType #17

Closed
sirex opened this issue Apr 24, 2024 · 1 comment · Fixed by #28
Closed

_value ir _objectType #17

sirex opened this issue Apr 24, 2024 · 1 comment · Fixed by #28
Labels
bug Something isn't working ready
Milestone

Comments

@sirex
Copy link
Contributor

sirex commented Apr 24, 2024

_objectType:
description: |
Name of the object that is being added
type: string
examples:
- Continent
_value:
description: |
Value of the object that is being added
type: string
examples:
- Europe
_file:
description: |
A flag that indicates if the object is a file and it's file type. If empty, object is not a file. If value is present, it is a file extension of the file (e.g. ".txt", ".jpg").
type: string
examples:
- jpg

Tokių dalykų, kaip _value, _objectType ir _file nėra.

Vietoje _file žiūrėti #14

O _value ir _objectType yra tas pats, kas

patternProperties:
^[a-z](_?[a-z0-9]+)*$:
oneOf:
- $ref: ./absent.yaml
- $ref: ./boolean.yaml
- $ref: ./integer.yaml
- $ref: ./number.yaml
- $ref: ./binary.yaml
- $ref: ./string.yaml
- $ref: ./text.yaml
- $ref: ./dateTime.yaml
- $ref: ./date.yaml
- $ref: ./time.yaml
- $ref: ./temporal.yaml
- $ref: ./geometry.yaml
- $ref: ./spatial.yaml
- $ref: ./money.yaml
- $ref: ./file.yaml
- $ref: ./image.yaml
- $ref: ./generic.yaml
- $ref: ./ref.yaml
- $ref: ./backref.yaml
- $ref: ./array.yaml
- $ref: ./URL.yaml
- $ref: ./URI.yaml
# - $ref: ./object.yaml

Reikia šias savybes pašalinti.

@sirex sirex added bug Something isn't working ready labels Apr 24, 2024
@sirex sirex added this to the 1.0 milestone Jul 30, 2024
@sirex
Copy link
Contributor Author

sirex commented Aug 7, 2024

_value dar liko prie keletos veiksmų, pavyzdžiui:

_value:
type: string
examples:
- Europe

Nuorodą į paiešką, kur naudojama _value:

https://github.com/search?q=repo%3Aivpk%2Fuapi+_value+path%3A%2F%5Eopenapi%5C%2F%2F&type=code

@sirex sirex closed this as completed in #28 Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant