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

Update JSON example files (#3244) #3254

Closed
wants to merge 87 commits into from

Conversation

hleann386
Copy link

alasdairhurst and others added 30 commits February 25, 2020 15:08
Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
…s of the spec (#2574)

* workflows: update used actions

* .

* bikeshed rendering (WIP)

* bikeshed; split into v2, v3 directories

* bikeshed; fixes to TOC,code blocks and indent levels

* bikeshed; work from unmodified .md files

* bikeshed; .gitignore

* bikeshed; separate header for v3.0.1 for now

* respec; as an alternative to bikeshed

* Rename bikeshed to md2html

* md2html; current setup

* md2html; wip

* md2html; fix 1 toc bug

* md2html; fix another toc bug

* md2html; fix 1 respec toc bug

* md2html; fix another bikeshed toc bug

* respec; former editor support - needs ReSpec 20.x

* Latest respec tweaks

* pre block css background, RFC ref fixes

* Github gist syntax highlighting css

* md2html: move to scripts dir

* md2html: resolve relative links for examples

* md2html: use respec js from spec.openapis.org site

* md2html: find gist.css regardless of run dir

* md2html: don't mix https and http content (toc)

* md2html; include google analytics

* md2html; build putative versions 4,5 etc

* md2html; tidying up

* md2html; specify lang="en" in html

* build: update deps

* fix: style examples bugs, refs #2488

* fix: update highlightjs call in md2html

* feat: add github action

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>

* build: create a `latest.html` ReSpec version

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
…re appropriate (#2586)

* Fix typo in v3.1 schema tests

* Remove v3.1 schema test for server variable

JSON Schema can't express this constraint

* v3.1 Schema fix. $ref should be a uri-reference
docs: add CodeTriage badge and CTA to README.md
Does this work? Just pointing out that there is a Subscribe to Calendar button. DIY.
…branches (#2597)

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
* fix: v2.0 maintainers and version/date

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>

* Add some largely non-visible SEO improvements to the rendered spec

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
* nuke proposal prefixes

* Add YYYY-MM-DD prefixes to proposal documents

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
* fix: md2html/build.sh specify bash in shebang

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>

* fix: changes for abstract title in md2html.js

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
…mas) (#2614)

* Add test cases for valid and invalid top-level schemaObject types

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>

* Update workflow actions to node 14

Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
Makes the workflow trigger match the comment, thus giving people more time to add agenda items
#2157: Update schema to validate refs in headers of encoding objects
Add accessible meetings slide to agenda template
This makes metaschema consistent with the 3.0.x spec.

Refs #2666
* fix: typo spelling grammar

* Update proposals/2019-07-17-Webhooks.md

change ``request`` to ``requests``

Co-authored-by: Nate <37554478+servusdei2018@users.noreply.github.com>

Co-authored-by: Nate <37554478+servusdei2018@users.noreply.github.com>
generated via:
perl -MYAML::XS -MJSON::MaybeXS -we'$YAML::XS::Boolean="JSON::PP"; print Dump(JSON::MaybeXS->new->decode(do { local $/; <> }))' input.json > output.yaml
* minor simplification of v3.1 schema

"if the X property is present, then apply this constraint to property X" can
be simplified by simply stating the constraint for property X.

* add missing constraint to "header"

https://spec.openapis.org/oas/v3.1.0#headerObject

* allowEmptyValue and allowReserved don't make sense for headers

* collapse single-item "enum"s in "cookie" and "header" to "const"
If the wrong type is used for a particular piece of data, then a bare
"required" will validate as true, causing the "if" clause to be true, which
can lead to confusing errors when the "then" schema then fires, instead of the
error occurring at a higher position in the schema.
https://spec.openapis.org/oas/v3.1.0#pathTemplating
"The value for these path parameters MUST NOT contain any unescaped “generic syntax” characters described by [[!RFC3986]]: forward slashes (/), question marks (?), or hashes (#)."
karenetheridge and others added 24 commits July 2, 2022 13:12
the implementation of the OpenAPI v3.1 Spec in Go with generics
operationId in the link object is a string
Make PathItem operation properties specific.
)

OpenAPI Runtime Expressions parser and validator.

The library was listed under 'Low-Level tooling'.
Added Oxygen OpenAPI editor
Co-authored-by: webron <webron@users.noreply.github.com>
…minator" (#3137)

"The discriminator object is legal only when using one of the composite
keywords oneOf, anyOf, allOf."
https://spec.openapis.org/oas/v3.1.0#discriminator-object
Remove analytics/tracking pixel from README.md
(doesn't affect the spec, so merging directly to main)
Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
Fix minor typo and add "that" for clarity and ease of understanding.
Co-authored-by: Darrel <darrmi@microsoft.com>
@MikeRalphson
Copy link
Member

Could you rebase and/or force-push this PR so it does not contain unrelated changes? Thanks.

@Saud96525 Saud96525 linked an issue May 30, 2023 that may be closed by this pull request
@handrews handrews added the examples requests for more or better examples in the specification label Jan 29, 2024
@handrews
Copy link
Member

No response to rebase request since May 2023, and I don't see any commits in this PR from the submitter so I can't tell what the intent was. I'm just going to close this.

@handrews handrews closed this Jan 29, 2024
@handrews handrews deleted the mr/agenda-approved-prs branch April 18, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples requests for more or better examples in the specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tbarn:coc-enforcement-doc