Skip to content

Typo in style example #3140

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

Closed
wants to merge 86 commits into from
Closed

Typo in style example #3140

wants to merge 86 commits into from

Conversation

ralfhandl
Copy link
Contributor

@ralfhandl ralfhandl commented Jan 16, 2023

The example for style=label, explode=false in https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-examples is incorrect, see comment #1508 (comment) from @darrelmiller and the examples in https://swagger.io/docs/specification/serialization/.

The latter source states the RFC6570 template for style=label, explode=false as {.id} for a parameter named id, which is consistent with using commas as separators after the leading dot.

Fixes #3139

Thanks to @pk-work for finding this typo.

alasdairhurst and others added 30 commits February 25, 2020 15:08
* servers is an array of server

* fix only yaml file

* add servers test

* update schema.json from shema.yaml
Add "put" to allowed property name for PathItem in 3.1 schema
The election cycle for 2021 is complete and the existing TSC-elected members have agreed to serve another term. No additional nominations were received.
…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 <[email protected]>

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

Signed-off-by: Mike Ralphson <[email protected]>
…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.
* fix: v2.0 maintainers and version/date

Signed-off-by: Mike Ralphson <[email protected]>

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

Signed-off-by: Mike Ralphson <[email protected]>
* nuke proposal prefixes

* Add YYYY-MM-DD prefixes to proposal documents

Signed-off-by: Mike Ralphson <[email protected]>
* fix: md2html/build.sh specify bash in shebang

Signed-off-by: Mike Ralphson <[email protected]>

* fix: changes for abstract title in md2html.js

Signed-off-by: Mike Ralphson <[email protected]>
…mas) (#2614)

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

Signed-off-by: Mike Ralphson <[email protected]>

* Update workflow actions to node 14

Signed-off-by: Mike Ralphson <[email protected]>
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 <[email protected]>

Co-authored-by: Nate <[email protected]>
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"
karenetheridge and others added 25 commits February 24, 2022 10:52
Avoid misuse of `patternProperties` feature.
Fix #2126
To server implementations.

Co-authored-by: m-aciek <[email protected]>
Co-authored-by: Ron <[email protected]>
Added a link to the new calendar that includes all technical discussions such as SIGs.
Updated to remove outdated references to 2.0 since the current version is > 2.0. Will leverage this document as part of the SIG onboarding process.
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
@ralfhandl ralfhandl changed the base branch from main to v3.1.1-dev January 19, 2023 17:43
@ralfhandl ralfhandl closed this Jan 19, 2023
@ralfhandl ralfhandl deleted the fix/label-style-examples branch January 19, 2023 18:05
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.

There appears to be a typo in this table about parameter serialization...