Repository navigation
Fix: Allow to define type fields with whole document or remote reference - #308
Merged
2 commits merged intoMar 18, 2021
Conversation
wtertius
force-pushed
the
allow_to_define_type_fields_throw_whole_document_reference
branch
3 times, most recently
from
March 9, 2021 18:29
a72759c to
3fd3ca2
Compare
…nce.
It fixes the following case:
$ cat main.yml:
...
elements:
type: array
items:
$ref: './schemas/items.yml'
$ cat ./schemas/items.yml
type: object
properties:
id:
type: integer
format: int64
name:
type: string
wtertius
force-pushed
the
allow_to_define_type_fields_throw_whole_document_reference
branch
from
March 9, 2021 18:33
3fd3ca2 to
0f1d198
Compare
This was referenced Mar 18, 2021
adrianpk
pushed a commit
to foorester/oapi-codegen
that referenced
this pull request
Jan 16, 2024
…nce. (oapi-codegen#308) It fixes the following case: $ cat main.yml: ... elements: type: array items: $ref: './schemas/items.yml' $ cat ./schemas/items.yml type: object properties: id: type: integer format: int64 name: type: string Co-authored-by: Lukiianchuk Dmitrii <d.lukiyanchuk@butik.ru> Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: Allow to define type fields with whole document or remote reference
It fixes the following case: