Skip to content

Commit

Permalink
Merge pull request OAI#3940 from ralfhandl/build-script-headline-for-…
Browse files Browse the repository at this point in the history
…abstract

Remove need for separate ReSpec clone for Arazzo
  • Loading branch information
lornajane authored Jul 4, 2024
2 parents 6bd37a3 + 8b1a473 commit 038b4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/md2html/md2html.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function preface(title,options) {
preface += fs.readFileSync(path.resolve(__dirname,'gist.css'),'utf8').split('\n').join(' ');
preface += '</style>';
preface += `<h1 id="title">${title.split('|')[0]}</h1>`;
preface += `<section id="abstract" title="${abstract}">`;
preface += `<section id="abstract"><h2>${abstract}</h2>`;
preface += 'The OpenAPI Specification (OAS) defines a standard, programming language-agnostic interface description for HTTP APIs, which allows both humans and computers to discover and understand the capabilities of a service without requiring access to source code, additional documentation, or inspection of network traffic. When properly defined via OpenAPI, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interface descriptions have done for lower-level programming, the OpenAPI Specification removes guesswork in calling a service.';
preface += '</section>';
preface += '<section class="notoc" id="sotd">';
Expand Down

0 comments on commit 038b4f5

Please sign in to comment.