Skip to content

Conversation

@tfesenko
Copy link
Contributor

Added a slash (/) after the /paths, so now it's #/paths/~12.0~1repositories~1/{username}/get == #/paths/<'/2.0/repositories/{username}'.encode()>/get. See #1292 for details.

There is a PR #1291 which renames 3.0.md to 3.0.0.md .
In this PR, I am modifying 3.0.md file which is used on the current OpenAPI.next branch. Please let me know if I need to modify 3.0.0.md instead.

'#/paths/~12.0~1repositories~1/{username}/get' == '#/paths/<'/2.0/repositories/{username}'.encode()>/get
versions/3.0.md Outdated
UserRepositories:
# returns array of '#/components/schemas/repository'
operationRef: '#/paths~12.0~1repositories~1/{username}/get'
operationRef: '#/paths/~12.0~1repositories~1/{username}/get'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at it again, it seems this might need to be #/paths/~12.0~1repositories~1{username}/get?
That would translate to:

paths:
  /2.0/repositories/{username}:
    get:  

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, missed that one.
Fixed in be6f83d

paths:
  /2.0/repositories/{username}:
    get:
@webron
Copy link
Member

webron commented Jul 24, 2017

Thanks for getting this in!

@webron webron merged commit 65ff6b1 into OAI:OpenAPI.next Jul 24, 2017
@tfesenko tfesenko deleted the OpenAPI.next_operationRef branch July 24, 2017 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants